Add a timeout to the mongos FSync Lock Command

XMLWordPrintableJSON

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

      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
              Reporter:
              Nandini Bhartiya
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: