[SERVER-37911] CreateIndex via applyOps should notify opObserver in the WUOW of index commit Created: 02/Nov/18 Updated: 29/Oct/23 Resolved: 04/Dec/18 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Storage |
| Affects Version/s: | None |
| Fix Version/s: | 4.0.6, 4.1.7 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Siyuan Zhou | Assignee: | Louis Williams |
| 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.0, v3.6
|
||||||||
| Sprint: | Storage NYC 2018-12-03, Storage NYC 2018-12-17 | ||||||||
| Participants: | |||||||||
| Linked BF Score: | 68 | ||||||||
| Description |
|
In createIndexForApplyOps, OpObserver::onCreateIndex() is called outside the WUOW of index commit, so it's possible that the build index via applyOps finishes without the corresponding oplog entry. |
| Comments |
| Comment by Githook User [ 11/Jan/19 ] |
|
Author: {'username': 'louiswilliams', 'email': 'louis.williams@mongodb.com', 'name': 'Louis Williams'}Message: (cherry picked from commit cf8fbf54354a805f0bdb5bc4282c8081f4802971) |
| Comment by Githook User [ 04/Dec/18 ] |
|
Author: {'name': 'Louis Williams', 'email': 'louis.williams@mongodb.com', 'username': 'louiswilliams'}Message: |
| Comment by Siyuan Zhou [ 02/Nov/18 ] |
|
We need to backport the fix to previous version. |