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

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 7.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Fully Compatible
    • Sharding EMEA 2023-07-24, Sharding EMEA 2023-08-07
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      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).

            Assignee:
            Enrico Golfieri
            Reporter:
            Pierlauro Sciarelli
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: