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

Investigate errors related to moving capped collection that are part of multi-document transactions

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0, 8.0.0-rc7
    • Affects Version/s: None
    • Component/s: None
    • None
    • Cluster Scalability
    • Fully Compatible
    • v8.0
    • Cluster Scalability 2024-5-27, Cluster Scalability 2024-6-10

      When running tests with the balancer moving random collections, we could see an IllegalOperation error be reported, which should be investigated.

      [Balancer] "Error while doing balance","attr":{"error":{"code":8959500,"codeName":"Location8959500","errmsg":
      "An unexpected error occured while moving a random unsharded collection, from: shard-rs1, to: shard-rs0, nss: test0_fsmdb0.fsmcoll0, 
      error: IllegalOperation: Command request failed on source shard. :: caused by :: Recipient shard shard-rs0 reached an unrecoverable error :: 
      caused by :: Cannot remove from a capped collection in a multi-document transaction: test0_fsmdb0.system.resharding.30710c8d-a485-4582-a336-effaed2a8d1a"}}

            Assignee:
            kshitij.gupta@mongodb.com Kshitij Gupta
            Reporter:
            robert.sander@mongodb.com Robert Sander
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: