• Oswaldo Ferreira's avatar
    Add exclusive lease to mergeability check process · f4cd926c
    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.
    f4cd926c