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

Refactor construction of persisted chunks collection namespace

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 5.1.0-rc0
    • None
    • Sharding
    • None
    • Fully Compatible
    • Sharding EMEA 2021-09-06

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: