• Type: Bug
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Cluster Scalability
    • ALL
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The scripts-and-snippets copy of orphan_deleter_script.js is missing the change from SERVER-129374 that makes the script read the shard's authoritative catalog.

      Currently, the script reads only config.cache.collections for the shard key. On 9.0 clusters with AuthoritativeShardsCRUD enabled, config.cache.collections is not authoritative, so the script exits at startup with "Collection <nss> not found." The playbook's remedy for a stale cache (_flushRoutingTableCacheUpdates) is also disallowed under that flag.

      Fix the lookup to read from config.shard.catalog.collections, and fall back to config.cache.collections. 

            Assignee:
            Kruti Shah
            Reporter:
            Kruti Shah
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: