[SERVER-45675] Test that $unionWith tracks disk use appropriately Created: 21/Jan/20 Updated: 29/Oct/23 Resolved: 20/Feb/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Aggregation Framework, Diagnostics |
| Affects Version/s: | None |
| Fix Version/s: | 4.3.4 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Charlie Swanson | Assignee: | Arun Banala |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | qopt-team | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||
| Sprint: | Query 2020-02-10, Query 2020-02-24 | ||||||||||||
| Participants: | |||||||||||||
| Description |
|
It looks like we'll need to remember to do some accounting for this. You can see how $lookup does it here. |
| Comments |
| Comment by Githook User [ 19/Feb/20 ] |
|
Author: {'name': 'Arun Banala', 'username': 'banarun', 'email': 'arun.banala@mongodb.com'}Message: |
| Comment by Charlie Swanson [ 29/Jan/20 ] |
|
arun.banala and nicholas.zolnierz it'll be interesting to test what happens when we're dealing with a sharded collection. I suspect we'll get 'usedDisk' in some of the log lines associated with the operation, but it'll be hard for that to propagate all the way back up the chain. If that's the case, I suggest we add an open question to the design about whether it's pursuing a better solution. |