There is a broken link in one user’s dashboard under “Outgoing Reviews”. When clicking on it, Gerrit returns a 404 error, indicating that the change no longer exists.
This likely happened because I recently restored the project from a backup, which may have caused the change (or its underlying data) to be lost or become inconsistent.
I’ve already tried the following steps:
Reindexed the entire Gerrit server(and even remove the whole cache)
Searched the server filesystem and logs for any trace of the change ID (using grep and find) — but found nothing.
> On 8 Dec 2025, at 08:25, Yingchun Li <sword.l...@gmail.com> wrote:
>
> There is a broken link in one user’s dashboard under “Outgoing Reviews”. When clicking on it, Gerrit returns a 404 error, indicating that the change no longer exists.
>
> This likely happened because I recently restored the project from a backup, which may have caused the change (or its underlying data) to be lost or become inconsistent.
>
> I’ve already tried the following steps:
>
> Reindexed the entire Gerrit server(and even remove the whole cache)
Did you perform an off-line reindex?
On Monday, 8 December 2025 at 09:25:52 UTC+1 Yingchun Li wrote:There is a broken link in one user’s dashboard under “Outgoing Reviews”. When clicking on it, Gerrit returns a 404 error, indicating that the change no longer exists.
This likely happened because I recently restored the project from a backup, which may have caused the change (or its underlying data) to be lost or become inconsistent.
I’ve already tried the following steps:
Reindexed the entire Gerrit server(and even remove the whole cache)
Searched the server filesystem and logs for any trace of the change ID (using grep and find) — but found nothing.You can try
curl -X POST -H "content-type:application/json" -n https://<gerrit_instance>/a/config/server/index.changes -d '{"changes":["<change_number>"], "delete_missing": "true"}'
I feel like the full reindex should have covered this, but it is the most reliable "poke single change" I have found.
On Monday, December 8, 2025 at 4:59:16 PM UTC+8 Rikard Almgren wrote:On Monday, 8 December 2025 at 09:25:52 UTC+1 Yingchun Li wrote:There is a broken link in one user’s dashboard under “Outgoing Reviews”. When clicking on it, Gerrit returns a 404 error, indicating that the change no longer exists.
This likely happened because I recently restored the project from a backup, which may have caused the change (or its underlying data) to be lost or become inconsistent.
I’ve already tried the following steps:
Reindexed the entire Gerrit server(and even remove the whole cache)
Searched the server filesystem and logs for any trace of the change ID (using grep and find) — but found nothing.You can try
curl -X POST -H "content-type:application/json" -n https://<gerrit_instance>/a/config/server/index.changes -d '{"changes":["<change_number>"], "delete_missing": "true"}'