[SERVER-54426] Time-series bucket catalog can miss promises with concurrent inserts Created: 09/Feb/21 Updated: 29/Oct/23 Resolved: 11/Feb/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 4.9.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Gregory Noma | Assignee: | Gregory Noma |
| 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 | ||||||||
| Sprint: | Execution Team 2021-02-22 | ||||||||
| Participants: | |||||||||
| Description |
|
When a bucket is committed, the number of promises we set is one less than the number of documents returns by the previous call to commit. However, if there are multiple concurrent writers which cause commit to be called multiple times, this number is not correct and we can miss a promise which should be set. |
| Comments |
| Comment by Githook User [ 11/Feb/21 ] |
|
Author: {'name': 'Gregory Noma', 'email': 'gregory.noma@gmail.com', 'username': 'gregorynoma'}Message: |