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

Add a new field to config.collections/config.cache.collections representing whether a collection supports long names

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.1.0-rc0
    • Affects Version/s: None
    • Component/s: Sharding
    • Labels:
      None
    • Fully Compatible
    • Sharding EMEA 2021-08-09

      Add a new optional boolean field to config.collections and to config.cache.collections that represents whether a collection supports long names. As part of this work we should also expose methods to get/set this flag.

      The interesting part of this task is to think about the compatibility with previous versions. What happens if I try to parse 5.0 metadata with a 5.1 binary? What does it mean if this field is not present? These are the type of questions we have to solve here. You can get some ideas from allowMigrations.

            Assignee:
            antonio.fuschetto@mongodb.com Antonio Fuschetto
            Reporter:
            sergi.mateo-bellido@mongodb.com Sergi Mateo Bellido
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: