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

Add UserWritesBlocked to acceptable moveCollection errors in MoveUnshardedPolicy

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0, 8.0.0-rc5
    • Affects Version/s: None
    • Component/s: None
    • None
    • Cluster Scalability
    • Fully Compatible
    • ALL
    • v8.0
    • Cluster Scalability 2024-5-27
    • 33

      When the random balancing fail point is on, the balancer will use moveCollection to randomly move unsharded collections. It currently has a list of acceptable errors for moveCollection to fail with, and will trigger a tassert if any other error is returned. In the fuzzer, if user writes are disabled via setUserWriteBlockMode a moveCollection may validly fail with UserWritesBlocked. We should add this error to the acceptable errors list.

            Assignee:
            jack.mulrow@mongodb.com Jack Mulrow
            Reporter:
            jack.mulrow@mongodb.com Jack Mulrow
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: