[SERVER-39049] The txn::collect utility stops joining on errors Created: 16/Jan/19 Updated: 16/Jan/19 Resolved: 16/Jan/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Kaloian Manassiev | Assignee: | Kaloian Manassiev |
| Resolution: | Incomplete | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Operating System: | ALL | ||||
| Participants: | |||||
| Linked BF Score: | 0 | ||||
| Description |
|
The txn::collect Futures utility will stop joining the sub-tasks after it gets an error. Because of this, it doesn't ensure that all asynchronous activities have completed upon return. Since it is only used by the transaction coordinator we should make it just fit this case instead of trying to make it a more generic utility. |
| Comments |
| Comment by Kaloian Manassiev [ 16/Jan/19 ] |
|
Closing as incomplete because instead of fixing the txn::collect utility we should probably just get rid of it since there is only one very specialized use case. |