After ugrade to latest master: temporay errors : class not found

59 views
Skip to first unread message

Björn Pedersen

unread,
May 13, 2016, 8:02:29 AM5/13/16
to Repo and Gerrit Discussion
Hi,

after a recent upgrade to  a master build on a test machine I found the following in the javamelody logs
 
for each request like:

   /changes/?q=status:open+is:mergeable+conflicts:8&O=a GET

I get (once):

WARN [com.google.gerrit.server.cache.h2.H2CacheImpl] Cannot build BloomFilter for jdbc:h2:file:///home/gerrit/cache/conflicts: Deserialization failed, cause: "java.lang.ClassNotFoundException: com.google.gerrit.extensions.common.SubmitType" [90027-176]

After that everything seems to work normally, including the request in question if performed manually.

Is this an expected upgrade effect? Or should  the upgrade just  flush the caches?

Björn

Indra Gunawan

unread,
Jul 15, 2016, 11:12:30 PM7/15/16
to Repo and Gerrit Discussion
I just upgrade to 2.12.2 and I see this :

[2016-07-15 20:11:12,336] [HTTP-239] WARN  com.google.gerrit.server.cache.h2.H2CacheImpl : Cannot build BloomFilter for jdbc:h2:file:///opt/nmtgre-tools/gerrit/cache/conflicts: Deserialization failed, cause: "java.lang.ClassNotFoundException: com.google.gerrit.extensions.common.SubmitType" [90027-176]

repeatedly.

Is it bad?  How do I resolve this?

Thank you
-Indra

Indra Gunawan

unread,
Jul 15, 2016, 11:18:34 PM7/15/16
to Repo and Gerrit Discussion
It looks like flushing the conflicts cache solved the problem, e.g. by ssh:
  ssh <user>@<host> -p <port> gerrit flush-caches --cache conflicts

by following this thread: https://groups.google.com/forum/#!topic/repo-discuss/iJQLUdWC19Y

Thanks
-Indra
Reply all
Reply to author
Forward
0 new messages