Add UserWritesBlocked to acceptable moveCollection errors in MoveUnshardedPolicy

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: 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
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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
              Reporter:
              Jack Mulrow
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: