[SERVER-49155] MultiIndexBlock::init() does not clear _indexes upon a WCE Created: 26/Jun/20 Updated: 29/Oct/23 Resolved: 14/Jul/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Index Maintenance |
| Affects Version/s: | 4.5.1, 4.4.0-rc11 |
| Fix Version/s: | 4.4.0-rc14, 4.7.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Gregory Wlodarek | 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 | ||||||||||||||||
| Operating System: | ALL | ||||||||||||||||
| Backport Requested: |
v4.4
|
||||||||||||||||
| Sprint: | Execution Team 2020-07-27 | ||||||||||||||||
| Participants: | |||||||||||||||||
| Linked BF Score: | 30 | ||||||||||||||||
| Description |
|
There was a build failure where this invariant failed. This happened because the IndexBuildsManager::setUpIndexBuild() function will retry calling MultiIndexBlock::init() in a write conflict retry loop. |
| Comments |
| Comment by Githook User [ 17/Jul/20 ] |
|
Author: {'name': 'Gregory Wlodarek', 'email': 'gregory.wlodarek@mongodb.com', 'username': 'GWlodarek'}Message: (cherry picked from commit aaeb549ed1e6804e229c1db09fc60260bfd82a62) |
| Comment by Githook User [ 17/Jul/20 ] |
|
Author: {'name': 'Gregory Wlodarek', 'email': 'gregory.wlodarek@mongodb.com', 'username': 'GWlodarek'}Message: (cherry picked from commit 5878325f0d8d49fdc7b9a41f5e24617e3f5febf9) |
| Comment by Githook User [ 14/Jul/20 ] |
|
Author: {'name': 'Gregory Wlodarek', 'email': 'gregory.wlodarek@mongodb.com', 'username': 'GWlodarek'}Message: |
| Comment by Githook User [ 14/Jul/20 ] |
|
Author: {'name': 'Gregory Wlodarek', 'email': 'gregory.wlodarek@mongodb.com', 'username': 'GWlodarek'}Message: |
| Comment by Githook User [ 14/Jul/20 ] |
|
Author: {'name': 'Gregory Wlodarek', 'email': 'gregory.wlodarek@mongodb.com', 'username': 'GWlodarek'}Message: |
| Comment by Gregory Wlodarek [ 26/Jun/20 ] |
|
It looks like v4.2 is not affected, as the onRollback() hook cleared _indexes. |