Cannot build BloomFilter

860 views
Skip to first unread message

hari_seldon

unread,
Nov 28, 2013, 4:42:36 AM11/28/13
to repo-d...@googlegroups.com
Anyone have any idea what this error is caused by? These are being generated repeatedly in my Gerrit log. I am not running h2. I am running MYSQL.

WARN  com.google.gerrit.server.cache.h2.H2CacheImpl : Cannot build BloomFilter for jdbc:h2:file:review_site/cache/diff_intraline
org.h2.jdbc.JdbcSQLException: General error: "java.lang.ArrayIndexOutOfBoundsException"; SQL statement:
SELECT k FROM data [50000-168]

Shawn Pearce

unread,
Nov 28, 2013, 12:03:18 PM11/28/13
to hari_seldon, repo-discuss
This sounds like the cache is corrupt if H2 can't get the data back.
The cache is H2 based, even if your database is MySQL.

Try shutting down Gerrit, deleting $site_path/cache/diff_intraline.*,
restart Gerrit.

David Pursehouse

unread,
Dec 3, 2013, 10:58:16 PM12/3/13
to Shawn Pearce, hari_seldon, repo-discuss
I just had the same error, and this fixed it.

James Rawlings

unread,
Aug 9, 2014, 6:53:27 PM8/9/14
to repo-d...@googlegroups.com, s...@google.com, rmd...@gmail.com
+1

Mateusz Bysiek

unread,
Aug 17, 2014, 8:41:54 AM8/17/14
to repo-d...@googlegroups.com, rmd...@gmail.com

The above worked for me too. Thanks!
Reply all
Reply to author
Forward
0 new messages