I have deleted a change id and all its references from gerrit database. But the change is still visible in UI . Although clicking on the change give 500 internal server error. How can I fix it ? I want to remove the change permanently
Asked
Active
Viewed 250 times
1 Answers
2
You have to run a reindex of the changes index, either
offline (with Gerrit stopped):
java -jar gerrit.war reindex --index changes
online (while Gerrit runs)
ssh -p 29418 review.example.com gerrit index start changes
This will update the Lucene index from which the dashboards are generated.

StephenKing
- 36,187
- 11
- 83
- 112
-
I did try running online reindexing but it didnt work. Then I tried offline reindexing and it worked .I am not sure why online reindexing didnt work.Any idea ? – devops Feb 14 '18 at 06:41
-
Was the reindexing finish when you checked? – StephenKing Feb 14 '18 at 10:37
-
As this seems to have worked, please mark the question as solved using the check mark. Thanks – StephenKing Feb 14 '18 at 10:37