[SERVER-42357] Periodically release locks during collection validation and check for interrupts Created: 23/Jul/19 Updated: 29/Oct/23 Resolved: 13/Sep/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Storage |
| Affects Version/s: | None |
| Fix Version/s: | 4.3.1 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Dianna Hohensee (Inactive) | Assignee: | Gregory Wlodarek |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||||||||||
| Sprint: | Execution Team 2019-08-26, Execution Team 2019-09-09, Execution Team 2019-09-23 | ||||||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||||||
| Description |
|
Necessary in order to allow concurrent DDL operations. Drop collection and drop index ops should cause the validate cmd to abort with an error. Create index should not cause failure, so may require special handling in index iteration somehow? (haven't thought it out). Index creation and validate should run concurrently without interrupting the validate work. (have not thought this out, but we might need filtering on the index iteration, maybe by timestamp?? – e.g. save a start timestamp, use it to filter the indexes) |
| Comments |
| Comment by Githook User [ 13/Sep/19 ] |
|
Author: {'username': 'GWlodarek', 'email': 'gregory.wlodarek@mongodb.com', 'name': 'Gregory Wlodarek'}Message: |
| Comment by Githook User [ 13/Sep/19 ] |
|
Author: {'name': 'Gregory Wlodarek', 'username': 'GWlodarek', 'email': 'gregory.wlodarek@mongodb.com'}Message: |
| Comment by Githook User [ 13/Sep/19 ] |
|
Author: {'username': 'GWlodarek', 'email': 'gregory.wlodarek@mongodb.com', 'name': 'Gregory Wlodarek'}Message: |
| Comment by Dianna Hohensee (Inactive) [ 20/Aug/19 ] |
|
We are going to have to pull things like this https://github.com/mongodb/mongo/blob/99593e1255dde3320ac330599311e3481a1ac0e0/src/mongo/db/catalog/index_consistency.h#L144-L145 out of subclasses to support relock. |