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

Unify isNamespaceAlwaysUntracked() and isShardLocalNamespace()

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • 1

      Currently we have two namespace functions:

      This two functions have duplicated code. Considering that it should always be impossible to track a namespace that is considered local to a shard (e.g. config.cache.chunks) we should be able to remove the code duplication. Theoretically we should be able to implement isNamespaceAlwaysUntracked() by re-using the isShardLocalNamespace() function internally.

            Assignee:
            Unassigned Unassigned
            Reporter:
            tommaso.tocci@mongodb.com Tommaso Tocci
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: