[SERVER-41174] Ensure the same $$NOW and $$CLUSTER_TIME values are used across all batches of a bulk update Created: 16/May/19 Updated: 06/Dec/22 |
|
| Status: | Backlog |
| Project: | Core Server |
| Component/s: | Querying |
| Affects Version/s: | 4.1 Desired |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Anton Korshunov | Assignee: | Backlog - Query Optimization |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Assigned Teams: |
Query Optimization
|
| Participants: |
| Description |
|
A bulk update may execute multiple update commands if it can't all fit in a single update command. In this case, $$NOW and $$CLUSTER_TIME will be the same within each update command, but will be re-evaluated across multiple update commands. It could be desirable to preserve the same $$NOW and $$CLUSTER_TIME for the entire bulk update operation, as, from a user perspective, this is a single operation. |
| Comments |
| Comment by Craig Homa [ 20/May/19 ] |
|
Note from triage: Not sure if we need to implement anything for this, but we would at least want to ensure it is documented correctly. |