Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-41174

Ensure the same $$NOW and $$CLUSTER_TIME values are used across all batches of a bulk update

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 4.1 Desired
    • Component/s: Querying
    • Labels:
      None
    • Query Optimization

      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.

            Assignee:
            backlog-query-optimization [DO NOT USE] Backlog - Query Optimization
            Reporter:
            anton.korshunov@mongodb.com Anton Korshunov
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: