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

Improve resharding to support _requestResumeToken

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Do
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Sharding
    • Labels:
      None
    • Cluster Scalability
    • Cluster Scalability 2024-4-1

      After activating the sharded tests in concurrency_sharding_initial_sync (SERVER-82623), the test 
      jstests/concurrency/fsm_workloads/internal_transactions_resharding.js fails, because of a failing assert during the validation of the operation parameters. The problem is that the current implementation does not support "$_requestResumeToken. The purpouse of this ticket is to analyze what is necessary to support that option and reenable the test, if it is possible to fix it.

      https://github.com/10gen/mongo/blob/77e5bc4b483c547a3adabe8aa974472b64e4ff9c/src/mongo/db/pipeline/aggregation_request_helper.cpp#L234

       Error: Failed with unexpected {
      "ok" : 0,
      "errmsg" : "Recipient shard shard-rs0 reached an unrecoverable error :: caused by :: $_requestResumeToken is not supported without Resharding Improvements",
      "code" : 72,
      "codeName" : "InvalidOptions",
      "$clusterTime" : {
      "clusterTime" : Timestamp(1708708511, 883),
      "signature" : {
      "hash" : BinData(0,"AAAAAAAAAAAAAAAAAAAAAAAAAAA="),
      "keyId" : NumberLong(0)
      }
      },
      "operationTime" : Timestamp(1708708511, 883)
      }
      

       

            Assignee:
            adi.zaimi@mongodb.com Adi Zaimi
            Reporter:
            david.dominguez@mongodb.com David Dominguez Sal (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: