Improve watchdog directory check logging

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 3.7.3
    • Affects Version/s: None
    • Component/s: Internal Code
    • None
    • Fully Compatible
    • ALL
    • v3.6, v3.4, v3.2
    • Platforms 2018-03-12
    • 0
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            Mark Benvenuto
            Reporter:
            Mark Benvenuto
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: