You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Ref rewinds observed in high traffic gerrit environments #281
In a high traffic gerrit environment we are observing rare cases when refs get rewinded.
Actual behavior
In high traffic gerrit environment when multiple actions happen on a change, possibly a comment/vote and them submitting the change, We did see through our logs that meta ref did update to point to new commit created using submit strategy and then was rewinded to reflect the other meta ref update.
Expected behavior
Concurrent updates should either fail with a lock failure or should be applied in correct order.
Activity
lucamilanesio commentedon Aug 13, 2026
The fix to this problem is fixing the unlocking during ref deletions. Did you verify that a deletion was involved in the refs' rewinding?
lucamilanesio commentedon Aug 13, 2026
I see that it wasn't any deletion of refs but simply the repacking of loose refs. Makes sense to me.
achakilam-nv commentedon Aug 14, 2026
We've seen a recent case something like below.