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

Improve watchdog directory check logging

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 3.7.3
    • None
    • Internal Code
    • None
    • Fully Compatible
    • ALL
    • v3.6, v3.4, v3.2
    • Platforms 2018-03-12
    • 0

    Description

      The watchdog has two invariants as part of its directory check.

          invariant(bytesRead == bytesWritten);
          invariant(memcmp(nowStr.c_str(), readBuffer.get(), nowStr.size()) == 0);
      

      These invariants should be changed to log more information to understand why the watchdog could not read what it wrote.

      Attachments

        Activity

          People

            mark.benvenuto@mongodb.com Mark Benvenuto
            mark.benvenuto@mongodb.com Mark Benvenuto
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: