Add extra validate logging for unit tests for debug proposes

XMLWordPrintableJSON

    • Type: Question
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.4.0-rc0, 4.7.0
    • Affects Version/s: None
    • Component/s: Storage
    • None
    • Fully Compatible
    • v4.4
    • Execution Team 2020-03-09
    • 0
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      We have some validate unit tests that are rarely failing to find data corruption. The entries logged after the validate cmd are showing the data corruption that should have been found. The next step is adding logging of the collection and index table entries that validate sees as validate sees the entries. These log messages can be specially toggled on for unit tests only.

      Validate is failing to see any data corruption after the first lighter-weight round of validation. There's a second round that collects more information if the first round finds corruption. The test failures show that only the first round runs, so nothing is found in that first round. We need logging for the first round of validation, to narrow down where the error takes place in the code. The first round of validation uses buckets of counters, incrementing for collection table entries and then decrementing for index table entries.

            Assignee:
            Dianna Hohensee (Inactive)
            Reporter:
            Dianna Hohensee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: