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

MoveCollection results in catalog being updated but data not moved

    • Type: Icon: Bug Bug
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Cluster Scalability
    • ALL
    • Cluster Scalability 2024-11-11

      While adding a new core_sharding test for moveCollection for SERVER-94914, the command "find({}).itcount()" is returning 0 when in fact it should have received an error from the server. Mongos is in fact getting a StaleConfig error and refreshes.

      [j0:s] {"t":{"$date":"2024-11-06T18:10:59.549+00:00"},"s":"I",  "c":"QUERY",    "id":4625501, "svc":"R", "ctx":"conn28","msg":"Unable to establish remote cursors","attr":{"error":{"code":13388,"co
      deName":"StaleConfig","errmsg":"timestamp mismatch detected for test.move_collection_capped_collection","ns":"test.move_collection_capped_collection","vReceived":{"e":{"$oid":"000000000000000000000000"},"t":{"$timestamp":{"t":0,"i":0}},"v":{"$timestamp":{"t":0,"i":0}}},"vWanted":{"e":{"$oid":"672bb133611e746c1f1680ae"},"t":{"$timestamp":{"t":1730916659,"i":1110}},"v":{"$timestamp":{"t":0,"i":0}}},"shardId":"shard-rs1"},"nRemotes":0}}
      

      See for instance:
      https://parsley.mongodb.com/test/mongodb_mongo_master_enterprise_amazon_linux2_arm64_generated_by_burn_in_tags_burn_in:unsplittable_collections_created_on_any_shard_jscore_passthrough_gen_enterprise_amazon_linux2_arm64_generated_by_burn_in_tags_0_patch_70f443918e7a04ad38d59adbc4d2981b41f27bf8_672af2fbea094800070f9b9e_24_11_06_04_39_56/0/474c1884c0fcaa66732861f6b9ba7974?bookmarks=0,1101,1114,1118&shareLine=1101

            Assignee:
            kshitij.gupta@mongodb.com Kshitij Gupta
            Reporter:
            adi.zaimi@mongodb.com Adi Zaimi
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: