Distlock acquisition must not retry at the level of individual 'findAndModify' command

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 3.3.10
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Fully Compatible
    • ALL
    • 0
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Currently, the dist lock catalog retries the 'findAndModify' operations on NotMaster errors. In addition, in the dist lock manager there is a retry logic for the same set of errors.

      The calls inside the dist lock catalog must be made to not retry because if the previous write succeeded, it would return a status indicating that the lock is busy, when in fact it is actually not. This throws off the outer retry logic.

            Assignee:
            Kaloian Manassiev
            Reporter:
            Randolph Tan
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: