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

Refactor construction of persisted chunks collection namespace

    • Type: Icon: Improvement Improvement
    • 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-09-06

      A collection may or may not support a long name, depending on the value of the supportLongName field. The actual namespace of the corresponding chunks collection depends on this configuration and, in particular, might use the collection name or UUID as a suffix (for example, config.cache.chunks.test.foo or config.cache.chunks.c4522ed9-6a0e-4e02-8145-cf2e9f35081e).

      The logic that determines the actual chunks collection namespace should reside in a single function, avoiding scattering which are subsequently difficult to maintain.

            Assignee:
            antonio.fuschetto@mongodb.com Antonio Fuschetto
            Reporter:
            antonio.fuschetto@mongodb.com Antonio Fuschetto
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: