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

applyOp in ReshardingOplogApplicationRules sets lock acquisition deadline on opCtx

    • Cluster Scalability
    • Fully Compatible
    • ALL
    • v7.3, v7.2
    • Cluster Scalability 2024-1-22, Cluster Scalability 2024-2-5
    • 13
    • 3

      As part of SERVER-75580, _applyInsertOrUpdate is modified to run the collection lock acquisition function as a callback to OperationContext::runWithDeadline with deadline of gReshardingOplogApplierMaxLockRequestTimeoutMillis which has a default value of 5ms. This sets a deadline of lock acquisition to the whole function call back incorrectly, as the deadline is meant specifically for time to acquire the collection lock. This happens at multiple places in other applyOp functions and need to be fixed. 

            Assignee:
            wenqin.ye@mongodb.com Wenqin Ye
            Reporter:
            abdul.qadeer@mongodb.com Abdul Qadeer
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: