Hi,
Yesterday at 23.00 we upgraded from 2.8.6.1 to 2.10.4.
After a couple of hours the error_log started to fill up with "Cannot read project".
I think I have found a pattern where [1]:
1. PatchListLoader times out for "Diff loader"
~200 ms after
2. Project pack file is deemed corrupt and removed
Almost instantaneously
3. PatchListLoader : Error computing PatchListKey
Since jgit finds no valid pack file (my assumption) it can not get refs/meta/config and can't compute access so it ends up with
4. "Cannot read project"
Until gc.
If you have any idea about what could be the root cause, all help would be much appretiated.
/Sven
[1] Excerpts from error_log
[2015-05-20 02:27:47,769] WARN com.google.gerrit.server.patch.PatchListLoader : 5000 ms timeout reached for Diff loader in project some/random/project on commit f442da55817f08735a585b4311a6a6cdf08db262 on path some/random/path/binary-file.so comparing 40ffe83686c07cbd7b4c6fd573ad5760057f4093..c8ddcb18f8d5657f97fc5108ba2832e1f08b23fe
[2015-05-20 02:27:47,976] WARN org.eclipse.jgit.internal.storage.file.ObjectDirectory : Pack file /gerrit/site/git/some/random/project.git/objects/pack/pack-1b91c978e60a69d59d4db0b23b888bf7cb3b9c7b.pack is corrupt, removing it from pack list
[2015-05-20 02:27:47,976] WARN org.eclipse.jgit.internal.storage.file.ObjectDirectory : Pack file /gerrit/site/git/some/random/project.git/objects/pack/pack-1b91c978e60a69d59d4db0b23b888bf7cb3b9c7b.pack is corrupt, removing it from pack list
[2015-05-20 02:27:47,976] WARN com.google.gerrit.server.patch.PatchListLoader : Error computing PatchListKey[some/random/project BASE..f442da55817f08735a585b4311a6a6cdf08db262 IGNORE_NONE]
[2015-05-20 02:27:52,967] WARN com.google.gerrit.server.patch.PatchListLoader : Error computing PatchListKey[some/random/project BASE..f442da55817f08735a585b4311a6a6cdf08db262 IGNORE_NONE]
[2015-05-20 02:29:08,128] WARN com.google.gerrit.server.project.ProjectCacheImpl : Cannot read project some/random/project