OpenDJ nightly tests have been moved to a new machine which has lots of memory and cpu cores (32).
On this machine the InitOnlineTests of replication have been failing consistently.
After investigation, there is an ArrayIndexOutOfBoundsException is thrown deep in the indexing code. The exception cause the import to be cancelled and fails the tests.
The issue lies on line 1852 of jeb/importLDIF/Importer.java. When we need to add a key to the index, we check if there's enough space. However, it is not considered the case where there isn't but the key size also exceeds a complete buffer size.
We need to fix this bug, add a specific test for that problem, and also fix the InitOnlineTest to avoid using large values of an attribute that is indexed by default (this is not the goal of that specific unit test).
- is duplicated by
-
OPENDJ-114 Import failure: cursors left open due to RuntimeException in failed attribute indexing thread
-
- Done
-
- is related to
-
OPENDJ-527 rebuild-index --rebuildAll corrupts the indexes for certain data sets
-
- Done
-
- relates to
-
OPENDJ-114 Import failure: cursors left open due to RuntimeException in failed attribute indexing thread
-
- Done
-