[SERVER-72259] Test WriteUnitOfWork behavior in batched_write_context_test.cpp Created: 19/Dec/22 Updated: 20/Dec/22 |
|
| Status: | Backlog |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Shin Yee Tan | Assignee: | Backlog - Storage Execution Team |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Assigned Teams: |
Storage Execution
|
| Participants: |
| Description |
|
WriteUnitOfWork notifies the OpObserver interface when we start/commit/abort a batched write. It would be nice to be able to test by registering a mock OpObserver with the ServiceContext to help with test assertions. |