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

Split vector is not retriable when sent to a secondary

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • ALL
    • Sharding EMEA 2022-03-07

      In collection_defragmentation.js, a splitVector command is being used to get a split point for a random chunk. Since this operation is best effort anyways, it is simply being sent to any node from the shard, but some of the concurrency suites use the network error overrides in network_error_and_txn_override to retry network errors which includes the response notwriteableprimary. We should make sure to get the primary of the shard so that the test can complete or remove the call to splitvector entirely.

            Assignee:
            allison.easton@mongodb.com Allison Easton
            Reporter:
            allison.easton@mongodb.com Allison Easton
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: