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

[5.0] Fix primary check in timeseries_retryable_write_downgrade.js

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 5.0.3
    • None
    • None
    • None
    • Fully Compatible
    • ALL
    • Execution Team 2021-08-09
    • 49

    Description

      In timeseries_retryable_write_downgrade.js, we check whether the primary is not the same as the original primary in order to determine whether we need to step up the secondary. However, it turns out that after the node has been restarted, this check always evaluates to false.

      One way to fix this is to check equality of the ports instead.

      Attachments

        Activity

          People

            gregory.noma@mongodb.com Gregory Noma
            gregory.noma@mongodb.com Gregory Noma
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: