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

Add a timeout to the mongos FSync Lock Command

    • Fully Compatible
    • v7.0, v6.0, v5.0, v4.4
    • 1

      As jack.mulrow@mongodb.com pointed out, the mongos fsync with lock command can also hit a deadlock scenario similar to the one described in https://jira.mongodb.org/browse/SERVER-65821.

      In order to circumvent the possibility of a deadlock, a timeout can be added to the fsync with lock command. Refer to the OperationContext's setDeadlineAfterNowBy() method.

            Assignee:
            jada.lilleboe@mongodb.com Jada Lilleboe
            Reporter:
            nandini.bhartiya@mongodb.com Nandini Bhartiya
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: