Audit incorrect usages of checkFCV in rollback_set_fcv.js

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Replication
    • Fully Compatible
    • ALL
    • Repl 2025-02-03
    • 0
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      rollback_set_fcv.js repeatedly tries to rollback changes to the fcv document, so we periodically want to check the target FCV values. While we're in rollback, we should access the FCV document directly instead of relying on the checkFCV function, which reads from the majority committed snapshot. Since this test cannot always guarantee that the fcv document changes make it into the majority committed snapshot, we should audit usages of this helper and when appropriate, change the code to access the document directly on the rollback node.

            Assignee:
            Pavithra Vetriselvan
            Reporter:
            Pavithra Vetriselvan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: