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

mongos may see the timeseries collection as unsharded after shardCollection command

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

      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@mongodb.com Arun Banala
            Reporter:
            rui.liu@mongodb.com Rui Liu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: