Refactor construction of persisted chunks collection namespace

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 5.1.0-rc0
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Fully Compatible
    • Sharding EMEA 2021-09-06
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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
            Reporter:
            Antonio Fuschetto
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: