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

CheckReplDBHashInBackground retryable error handling doesn't retry when the command returns non-OK response peacefully

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Optimization
    • Fully Compatible
    • ALL
    • 200

      BF-34424 is the same issue as BF-33727. SERVER-92067 tried to fix it by using RetryableWritesUtil.runCommandWithRetries to run listDatabases. This helper runs the command inside retryOnRetryableCode but it doesn't assert that the response is OK. So if the command doesn't hit a connection closed or network error and instead returned a non-OK response peacefully then no retries would be done. 

            Assignee:
            alya.berciu@mongodb.com Alya Berciu
            Reporter:
            cheahuychou.mao@mongodb.com Cheahuychou Mao
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: