Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-78755

Add an optional<bool> `unsplittable` field to `config.collection` entries

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 7.1.0-rc0
    • None
    • None
    • Fully Compatible
    • Sharding EMEA 2023-07-24, Sharding EMEA 2023-08-07

    Description

      This change is needed to be able to differentiate between unsharded and sharded collections: since they will both be registered on the sharding catalog, the new field (to be added here) will be set to true when needing to represent unsharded collections that are technically not allowed to be split.

      Additionally to adding the new field, adapt the ChunkManager and the ShardCollectionType in order to take into account the new parameter (SERVER-75302 - that removed some fields from those components - can serve as an example to understand where to plug the new field).

      Attachments

        Activity

          People

            enrico.golfieri@mongodb.com Enrico Golfieri
            pierlauro.sciarelli@mongodb.com Pierlauro Sciarelli
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: