Details
-
Improvement
-
Status: Closed
-
Major - P3
-
Resolution: Won't Do
-
3.6.12, 4.0.8
-
None
-
None
-
(copied to CRM)
-
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
- is related to
-
SERVER-49319 WiredTiger crash after shutdown
-
- Closed
-
- related to
-
SERVER-20871 There should be a rather clear way to check the repair's progress
-
- Closed
-