ERROR Submit to Branch

68 views
Skip to first unread message

Guy Levkowitz

unread,
Sep 30, 2024, 2:59:36 AM9/30/24
to Repo and Gerrit Discussion
Hey

we had last week fail in our server and restarted it,

one of our repo/branch looks like got corrupted, and since than we can't push to this branch 
we get :  
An error occurred
Could not perform action: Lock failure

* Updating a ref failed with LOCK_FAILURE.
This may be a temporary issue due to concurrent updates.
Please retry later.


from the log : 

[2024-09-29T13:09:09.289+03:00] [HTTP POST /changes/cvpn~5241643/revisions/1/submit (guylevk from 172.20.209.26)] WARN  com.google.gerrit.server.update.RetryHelper : CHANGE_UPDATE was attempted 6 times [CONTEXT SUBMISSION_ID="5241643-DIS-2065-1727604503616-86c966b2" project="cvpn" request="REST /changes/*/revisions/*/submit" ]
[2024-09-29T13:09:09.293+03:00] [HTTP POST /changes/cvpn~5241643/revisions/1/submit (guylevk from 172.20.209.26)] ERROR com.google.gerrit.httpd.restapi.RestApiServlet : Error in POST /changes/cvpn~5241643/revisions/1/submit [CONTEXT project="cvpn" request="REST /changes/*/revisions/*/submit" ]
  CREATE: 0000000000000000000000000000000000000000 cd6342c514363beb9a799dd1d17db37c0f50ed05 refs/changes/43/5241643/2  (REJECTED_OTHER_REASON: transaction aborted)
  UPDATE: 31b3b60d584c590d81123fac29bab732bf954139 0480ecad3f92a9b1fec64679e9260984b4d12a71 refs/changes/43/5241643/meta  (REJECTED_OTHER_REASON: transaction aborted)
  CREATE: 0000000000000000000000000000000000000000 cd6342c514363beb9a799dd1d17db37c0f50ed05 refs/changes/43/5241643/2  (REJECTED_OTHER_REASON: transaction aborted)
  UPDATE: 31b3b60d584c590d81123fac29bab732bf954139 0480ecad3f92a9b1fec64679e9260984b4d12a71 refs/changes/43/5241643/meta  (REJECTED_OTHER_REASON: transaction aborted)
[2024-09-29T13:10:09.802+03:00] [HTTP-95] ERROR com.google.gerrit.pgm.http.jetty.HiddenErrorHandler : Error in GET /changes/?q=change:5241643



what can I do , any Idea

it happened just for this branch in this repo 

BR

Guy

Guy Levkowitz

unread,
Sep 30, 2024, 3:06:47 AM9/30/24
to Repo and Gerrit Discussion
Full error from the log


ב-יום שני, 30 בספטמבר 2024 בשעה 09:59:36 UTC+3, Guy Levkowitz כתב/ה:
cvpn_error_submit.txt

Guy Levkowitz

unread,
Sep 30, 2024, 4:01:53 AM9/30/24
to Repo and Gerrit Discussion
we had lock on the change under the repo 
i have rename it to _old and it fix the problem


ב-יום שני, 30 בספטמבר 2024 בשעה 10:06:47 UTC+3, Guy Levkowitz כתב/ה:

Matthias Sohn

unread,
Sep 30, 2024, 4:48:55 AM9/30/24
to Guy Levkowitz, Repo and Gerrit Discussion
On Mon, Sep 30, 2024 at 10:01 AM Guy Levkowitz <sil...@gmail.com> wrote:
we had lock on the change under the repo 
i have rename it to _old and it fix the problem

Looks like a stale file lock on some loose ref or on packed-refs. 
This can happen if the Gerrit process crashes while holding a file lock.
 
--
--
To unsubscribe, email repo-discuss...@googlegroups.com
More info at http://groups.google.com/group/repo-discuss?hl=en

---
You received this message because you are subscribed to the Google Groups "Repo and Gerrit Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to repo-discuss...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/repo-discuss/1b3f9d78-e455-440b-a9df-f181f0134570n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages