Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-6771

The log should clarify what the figures reported during repair mean

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: 3.6.12, 4.0.8
    • Fix Version/s: Backlog
    • Component/s: Logging
    • Labels:
      None
    • Case:
    • Story Points:
      5

      Description

      When the server is started with --repair, the mongod reports the progress as:

      Show all

      2019-04-16T15:22:37.412+1000 I STORAGE  [initandlisten] Repairing collection test.s
      2019-04-16T15:22:37.478+1000 I STORAGE  [initandlisten] WiredTiger progress WT_SESSION.verify 100
      2019-04-16T15:22:37.488+1000 I STORAGE  [initandlisten] WiredTiger progress WT_SESSION.verify 200
      2019-04-16T15:22:37.496+1000 I STORAGE  [initandlisten] WiredTiger progress WT_SESSION.verify 300
      2019-04-16T15:22:37.512+1000 I STORAGE  [initandlisten] WiredTiger progress WT_SESSION.verify 400
      2019-04-16T15:22:37.517+1000 I STORAGE  [initandlisten] WiredTiger progress WT_SESSION.verify 500
      2019-04-16T15:22:37.536+1000 I STORAGE  [initandlisten] WiredTiger progress WT_SESSION.verify 600
      2019-04-16T15:22:37.558+1000 I STORAGE  [initandlisten] WiredTiger progress WT_SESSION.verify 700
      2019-04-16T15:22:37.563+1000 I STORAGE  [initandlisten] WiredTiger progress WT_SESSION.verify 800
      2019-04-16T15:22:37.568+1000 I STORAGE  [initandlisten] WiredTiger progress WT_SESSION.verify 900
      2019-04-16T15:22:37.573+1000 I STORAGE  [initandlisten] WiredTiger progress WT_SESSION.verify 1000
      <...>
      2019-04-16T15:22:45.252+1000 I STORAGE  [initandlisten] WiredTiger progress WT_SESSION.verify 19900
      2019-04-16T15:22:45.256+1000 I STORAGE  [initandlisten] WiredTiger progress WT_SESSION.verify 20000
      2019-04-16T15:22:45.269+1000 I STORAGE  [initandlisten] Verify succeeded on uri table:collection-22--6524862713396647743. Not salvaging.
      

      This is pretty cryptic and may not be very useful to the end users. Specifically it is not clear:

      • What these numbers signify
      • What's the relative progress

      For instance, if the numbers indicate how many data pages have been processed and if the number of pages to be read is known, it would be much better to have log lines similar to the following:

      2019-04-16T15:22:45.252+1000 I STORAGE  [initandlisten] WiredTiger progress WT_SESSION.verify 19900/20000 pages read
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              backlog-server-storage-engines Backlog - Storage Engines Team
              Reporter:
              dmitry.ryabtsev Dmitry Ryabtsev
              Votes:
              0 Vote for this issue
              Watchers:
              15 Start watching this issue

                Dates

                Created:
                Updated: