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

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

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 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

      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@mongodb.com Enrico Golfieri
            Reporter:
            pierlauro.sciarelli@mongodb.com Pierlauro Sciarelli
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: