[SERVER-31596] recovery messages always appear in the log, even after clean shutdown Created: 17/Oct/17 Updated: 27/Oct/23 Resolved: 18/Oct/17 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | WiredTiger |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Eric Milkie | Assignee: | Susan LoVerso |
| Resolution: | Works as Designed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Operating System: | ALL |
| Steps To Reproduce: | 1. Run mongod on an empty data directory. |
| Participants: |
| Description |
|
If I shut down a mongod cleanly and restart it, I always see these messages appear in the log:
(I noticed them appearing in our jstest output.) |
| Comments |
| Comment by Susan LoVerso [ 18/Oct/17 ] |
|
I'm going to resolve this as working as expected. Please re-open if you disagree. |
| Comment by Susan LoVerso [ 18/Oct/17 ] |
|
The configuration to turn it on in MongoDB was added in Jan: https://github.com/mongodb/mongo/commit/9ef439f18536ec11af418602880359438ab84c64 WiredTiger recovery is run on every startup. A clean shutdown allows us to skip the full checkpoint that recovery forces, but we do go through the WT log. In the case of clean shutdown, when we checkpoint on close, that should be really, really fast as we have nothing to apply. |
| Comment by Eric Milkie [ 18/Oct/17 ] |
|
I don't believe so. |
| Comment by Bruce Lucas (Inactive) [ 17/Oct/17 ] |
|
Any possible connection to |
| Comment by Eric Milkie [ 17/Oct/17 ] |
|
Possibly related: |