mongos may see the timeseries collection as unsharded after shardCollection command

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • v5.0
    • QE 2021-10-04
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      When a mongos has stale config information, it may think a timeseries collection is unsharded, but it's actually sharded. In this case, the mongos will attach the shard version to the view namespace (through the logic of ChunkManagerTargeter) instead of bucket namespace. We should check if mongod will successfully detect this case and throws StaleConfig exception back to mongos.

              Assignee:
              Arun Banala
              Reporter:
              Rui Liu (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: