[SERVER-71331] Do not record full array in oplog for $pop Created: 14/Nov/22 Updated: 05/Dec/22 Resolved: 23/Nov/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Wenbin Zhu | Assignee: | Backlog - Query Execution |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Assigned Teams: |
Query Execution
|
||||||||
| Participants: | |||||||||
| Description |
|
Currently $pop records the full array in oplog for idempotency. However for large arrays this is pretty expensive (both in time and space), not only for secondary oplog application, but also for change streams. We should explore a more efficient way to log $pop operation while still keeping idempotency. |
| Comments |
| Comment by Ana Meza [ 23/Nov/22 ] |
|
Closing as duplicate of SERVER-71269 wenbin.zhu@mongodb.com Bernard's comment has been added to SERVER-71269 |
| Comment by Wenbin Zhu [ 22/Nov/22 ] |
|
ana.meza@mongodb.com Sounds good to me, can we also link/copy bernard.gorman@mongodb.com's comment in this ticket to SERVER-71269? thx. |
| Comment by Ana Meza [ 22/Nov/22 ] |
|
wenbin.zhu@mongodb.com wondering if can we close this ticket as a duplicate of SERVER-71269 ? |
| Comment by Wenbin Zhu [ 14/Nov/22 ] |
|
cc lingzhi.deng@mongodb.com judah.schvimer@mongodb.com kyle.suarez@mongodb.com |