mongodump oplog fails when moveChunk writes startRangeDeletion to admin.system.version

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Tools and Replicator

      Problem Statement/Rationale

      Since any operation that modifies admin.system.version should error, when a move chunk occurs, it will generate an oplog like this:

      Therefore, in a MongoDB cluster, whenever a moveChunk operation occurs, the oplog export will be terminated.

      Steps to Reproduce

      Step 1: Insert data into the db1.foo collection, with a sufficiently large amount of data.

      Step 2: Use mongodump to export the oplog.

      Step 3: Perform range sharding on the collection db1.foo.

      After the above operations:

      The mongodump process will exit because an oplog that modifies the admin.system.version collection has been generated.

      Expected Results

      The dump operation of the oplog should not be interrupted during the move chunk process.

       

      Actual Results

      What do you observe is happening?

      Additional Notes

      Any additional information that may be useful to include.

        1. image-2026-01-15-17-15-47-717.png
          41 kB
          coseman y
        2. image-2026-01-15-17-21-00-240.png
          32 kB
          coseman y

            Assignee:
            Unassigned
            Reporter:
            coseman y
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: