Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
x/build: some Gerrit CLs are getting into a state where they can't be updated #40147
It's not possible to leave review comments on those CLs.
Need to investigate why this is happening.
From initial observations, it might be CLs that GerritBot imported from PRs, where PRs have had large review comments posted (e.g., golang/tools#215 (review)), which might have caused some sort of fail-and-repeat loops to make an excess of 5000 API calls to the Gerrit CL, causing Gerrit to lock those CLs. But I've only looked very briefly so far, more investigation is needed to confirm this or find another explanation.
The relevant code for this error message in Gerrit source code is at https://gerrit.googlesource.com/gerrit/+/refs/tags/v3.2.2/java/com/google/gerrit/server/notedb/OpenRepo.java#181.