[SERVER-74786] Avoid IndexBuildAborted error code to convey state information Created: 13/Mar/23 Updated: 29/Oct/23 Resolved: 26/Jun/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.1.0-rc0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Louis Williams | Assignee: | Yujin Kang Park |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | techdebt | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Assigned Teams: |
Storage Execution
|
| Backwards Compatibility: | Fully Compatible |
| Sprint: | Execution EMEA Team 2023-06-26, Execution EMEA Team 2023-07-10 |
| Participants: |
| Description |
|
After Maybe we could even just pass the default Interrupted error code in killOp Original description: We use IndexBuildAborted to signal to the index builder thread that "the caller is taking responsibility for aborting this index build, do not cleanup". Instead, we should use the ReplIndexBuildState we already pass around and store this information on that structure, rather than using a special error code. |
| Comments |
| Comment by Githook User [ 26/Jun/23 ] |
|
Author: {'name': 'Yu Jin Kang Park', 'email': 'yujin.kang@mongodb.com', 'username': 'ykangpark'}Message: |