[SERVER-80974] Unclean shutdown while dropping local.* collection and indexes can make the catalog inconsistent Created: 12/Sep/23 Updated: 11/Dec/23 Resolved: 29/Sep/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.1.1, 7.2.0-rc0, 7.0.5, 6.0.13, 5.0.24 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Jordi Olivares Provencio | Assignee: | Jordi Olivares Provencio |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||||||||||||||||||||||
| Assigned Teams: |
Storage Execution EMEA
|
||||||||||||||||||||||||||||||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||||||||||||||||||||||||||||||
| Operating System: | ALL | ||||||||||||||||||||||||||||||||||||||||||||||||
| Backport Requested: |
v7.1, v7.0, v6.0, v5.0, v4.4
|
||||||||||||||||||||||||||||||||||||||||||||||||
| Sprint: | Execution EMEA Team 2023-10-02 | ||||||||||||||||||||||||||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||||||||||||||||||||||||||
| Linked BF Score: | 144 | ||||||||||||||||||||||||||||||||||||||||||||||||
| Description |
|
Writes to the local namespace use logged tables since they are not replicated. In a replica set writes to the catalog follow the WT timestamp model to support point-in-time reads. If a local collection is dropped, it is thus dropped immediately without going through the ident reaper. As a result, if a crash were to happen after dropping an index table AND before the catalog has checkpointed, the server will crash in the same fashion as |
| Comments |
| Comment by Githook User [ 11/Dec/23 ] |
|
Author: {'name': 'Jordi Olivares Provencio', 'email': 'jordi.olivares-provencio@mongodb.com', 'username': 'jordiolivares'}Message:
GitOrigin-RevId: ce215fe83acfde4e5d1b80f5f20772b4e509d5d2 |
| Comment by Githook User [ 14/Nov/23 ] |
|
Author: {'name': 'Jordi Olivares Provencio', 'email': 'jordi.olivares-provencio@mongodb.com', 'username': 'jordiolivares'}Message:
|
| Comment by Githook User [ 13/Nov/23 ] |
|
Author: {'name': 'Jordi Olivares Provencio', 'email': 'jordi.olivares-provencio@mongodb.com', 'username': 'jordiolivares'}Message: |
| Comment by Githook User [ 07/Nov/23 ] |
|
Author: {'name': 'Jordi Olivares Provencio', 'email': 'jordi.olivares-provencio@mongodb.com', 'username': 'jordiolivares'}Message: |
| Comment by Louis Williams [ 11/Oct/23 ] |
|
Requesting backports because the bug fix also implemented code to significantly reduce log spam that is caused by |
| Comment by Githook User [ 29/Sep/23 ] |
|
Author: {'name': 'Jordi Olivares Provencio', 'email': 'jordi.olivares-provencio@mongodb.com', 'username': 'jordiolivares'}Message: |