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

[5.0] Fix primary check in timeseries_retryable_write_downgrade.js

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.0.3
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • Execution Team 2021-08-09
    • 49

      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.

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

              Created:
              Updated:
              Resolved: