Handle CommandNotSupportedOnView error during remove shard

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 9.0.0-rc0, 8.3.2
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • Fully Compatible
    • v8.3
    • CAR Team 2026-04-13
    • 200
    • 🟩 Routing and Topology
    • None
    • None
    • None
    • None
    • None
    • None

      RemoveShard code collects information about collections to calculate remaining amount of bytes to move. It uses collstat to do this. Though we filter for collections when we get the namespaces on the shard, there is a chance that by the time we run the collstat, the user dropped the collection and recreated a view with the same name instead. In this case the collstat (and remove shard / shardDrainingStatus) fails. However it is safe to swallow this exception.

            Assignee:
            Wolfee Farkas
            Reporter:
            Wolfee Farkas
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: