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

mongos may see the timeseries collection as unsharded after shardCollection command

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • v5.0
    • QE 2021-10-04

    Description

      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.

      Attachments

        Activity

          People

            arun.banala@mongodb.com Arun Banala
            rui.liu@mongodb.com Rui Liu
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: