Deleted changes are still show in web page

79 views
Skip to first unread message

Sun King

unread,
Jan 20, 2022, 3:06:53 AM1/20/22
to Repo and Gerrit Discussion
Hi All,
I deleted some unused changes and they should not show in my dashboard.
But it's still in it with status "WIP". And click it the page return a "404 not found"  back to me.

Make no sense. And how can I fix it?
Appreciate for your reply. Thanks.

Sven Selberg

unread,
Jan 20, 2022, 3:24:38 AM1/20/22
to Repo and Gerrit Discussion
On Thursday, January 20, 2022 at 9:06:53 AM UTC+1 king...@gmail.com wrote:
Hi All,
I deleted some unused changes and they should not show in my dashboard.
But it's still in it with status "WIP". And click it the page return a "404 not found"  back to me.

To me this suggests that they are still left in the index for some reason (UI is populated from index).
But I don't know how to remove an index-entry for a non-existing change.
The only thing I can think of is an offline reindex if that's something that is plausible.

Luca Milanesio

unread,
Jan 20, 2022, 10:17:21 AM1/20/22
to Repo and Gerrit Discussion, Luca Milanesio, Sven Selberg

On 20 Jan 2022, at 08:24, Sven Selberg <sven.s...@axis.com> wrote:



On Thursday, January 20, 2022 at 9:06:53 AM UTC+1 king...@gmail.com wrote:
Hi All,
I deleted some unused changes and they should not show in my dashboard.
But it's still in it with status "WIP". And click it the page return a "404 not found"  back to me.

To me this suggests that they are still left in the index for some reason (UI is populated from index).
But I don't know how to remove an index-entry for a non-existing change.
The only thing I can think of is an offline reindex if that's something that is plausible.

Yes, I saw that scenario many times :-(
*IF* you have the HA plugin installed, there is a REST-API  (see [1]) for removing one change from the index, even when it does not exist. Alternatively, you could write a simple Groovy script for it.

HTH

Luca.


 

Make no sense. And how can I fix it?
Appreciate for your reply. Thanks.

--
--
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/0f18ba09-c921-4610-befa-ece4791fd208n%40googlegroups.com.

Sun King

unread,
Jan 21, 2022, 4:01:22 AM1/21/22
to Repo and Gerrit Discussion
Thank you SS.
Offline + Reindex is expensive for me. we can not stop Gerrit Service in a production env...  Crying.

Sun King

unread,
Feb 15, 2022, 9:04:29 AM2/15/22
to Repo and Gerrit Discussion

Hello sir and again,

ssh -p 29418 review.example.com gerrit index start changes --force

From [1]  says Restart the online indexer.
Is this can fix this my issue ?
Reply all
Reply to author
Forward
0 new messages