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

Ensure FCV document is covered in WT checkpoint before killing node in wt_nojournal_fsync.js

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.9.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • Repl 2020-09-21, Repl 2020-10-05, Repl 2020-10-19
    • 17

      We only create a new FCV document on a clean startup (the server has no non-local databases).

      However, it is possible that on an unclean shutdown (and no journaling), the creation of the admin.system.version collection makes it into the WT checkpoint but not the insertion of the FCV document. This means that on startup recovery, we never create the missing FCV document and end up fasserting instead.

      I think we should modify wt_nojournal_fsync.js to ensure that the FCV document makes it into the checkpoint before sending the kill -9.

            Assignee:
            jason.chan@mongodb.com Jason Chan
            Reporter:
            jason.chan@mongodb.com Jason Chan
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: