[SERVER-33903] Support aggregation within transactions Created: 15/Mar/18 Updated: 29/Oct/23 Resolved: 13/Apr/18 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication |
| Affects Version/s: | None |
| Fix Version/s: | 3.7.4 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Spencer Brody (Inactive) | Assignee: | Kyle Suarez |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Sprint: | Repl 2018-04-23 | ||||||||
| Participants: | |||||||||
| Comments |
| Comment by Githook User [ 13/Apr/18 ] |
|
Author: {'email': 'kyle.suarez@mongodb.com', 'name': 'Kyle Suarez', 'username': 'ksuarz'}Message: |
| Comment by Githook User [ 13/Apr/18 ] |
|
Author: {'email': 'kyle.suarez@mongodb.com', 'name': 'Kyle Suarez', 'username': 'ksuarz'}Message: |
| Comment by Kyle Suarez [ 13/Apr/18 ] |
|
Initial testing suggests that it "just works". I'll add a small test, plus add a test for reads on views within a transaction, as all of those turn into aggregations like James mentioned. |
| Comment by Spencer Brody (Inactive) [ 05/Apr/18 ] |
|
We believe this may be no-op after |
| Comment by James Wahlin [ 15/Mar/18 ] |
|
If we do not support aggregation in replica set transactions, we should ban find on views as well as they will be rewritten to an aggregation on the underlying collection. |