Hello friends,
I upgraded the Gerrit from 3.5.4 to 3.6.6. According to the release note, I ran the "copy-approvals" command via ssh. After upgrade, I ran the reindex like
/usr/bin/java -jar /gerrit/bin/gerrit.war reindex -d /gerrit/siteroot/v3.6.6, and there is no error during the whole process, but after running the Gerrit for some times, I found there are some errors like the following:
Caused by: org.h2.jdbc.JdbcSQLException: Timeout trying to lock table "ACCOUNT_PATCH_REVIEWS"; SQL statement:
INSERT INTO account_patch_reviews (account_id, change_id, patch_set_id, file_name) VALUES (?, ?, ?, ?) [50200-176]
at org.h2.message.DbException.getJdbcSQLException(DbException.java:344)
Could anybody help me out?
Thanks a lot