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

Split vector is not retriable when sent to a secondary

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 6.0.0-rc0
    • None
    • None
    • None
    • Fully Compatible
    • ALL
    • Sharding EMEA 2022-03-07

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: