Retry the validation call after upgrade finished in upgrade_downgrade_sharded_cluster_range_deletion.js

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • Fully Compatible
    • CAR Team 2025-04-28, CAR Team 2025-05-12
    • 200
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Sometime the first call to the shard

      var doc = st.shard0.getCollection(kRangeDeletionNs).findOne({nss: testRangeDeletionNS}); 

      after upgrade finished

          jsTest.log('Upgrading FCV to ' + latestFCV);
          assert.commandWorked(
              st.s.adminCommand({setFeatureCompatibilityVersion: latestFCV, confirm: true})); 

      fails with a network error, like

      network error while attempting to run command 'find' on host 'ip-10-128-10-141.ec2.internal:20792'  :: caused by :: dbclient error communicating with server ip-10-128-10-141.ec2.internal:20792 :: caused by :: futurize :: caused by :: Connection closed by peer 

      Possible fix is to retry in this case

       

            Assignee:
            Igor Praznik
            Reporter:
            Igor Praznik
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: