Page MenuHomePhabricator

Investigate changes having a wrong server id
Open, Needs TriagePublic

Description

During a full reindexing, Gerrit complained about some changes having the wrong server id:

[2022-11-17 10:53:25,655]
[Index-Batch-20[java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask@29d1d09d[
  Not completed, task = java.util.concurrent.Executors$RunnableAdapter@7f184ee7[
    Wrapped task = com.google.gerrit.server.logging.LoggingContextAwareRunnable@5d906570]]]]
WARN  com.google.gerrit.server.index.change.AllChangesIndexer : Failed to read change 218499 for indexing
com.google.gerrit.server.notedb.InvalidServerIdException: invalid server id,
expected e9e9afe9-4712-486d-8885-f54b72dd1951:
actual: 173816e5-2b9a-37c3-8a2e-48639d4f1153

Event Timeline

We have gerrit.serverId set to e9e9afe9-4712-486d-8885-f54b72dd1951 since December 2016 commit 15bc9b80a7a91c54567d3fb63442ac13c955e603.