• Oswaldo Ferreira's avatar
    Add exclusive lease to mergeability check process · 3fe3d415
    Oswaldo Ferreira authored
    Concurrent calls to UserMergeToRef RPC updating a single ref
    can lead to an opaque fail that is being rescued at Gitaly.
    So this commit adds an exclusive lease to the mergeability
    check process with the key as the current MR ID.
exclusive_lease_helpers.rb 1.18 KB