"Secondary is corrupt: the primary record ..."
567972Apr 29 2011 — edited Apr 30 2011We're using 3.3.98. When attempting to delete all records from an EntityStore, we're getting the error "com.sleepycat.je.SecondaryIntegrityException: (JE 4.1.6) Secondary is corrupt: the primary record contains a key that is not present in the secondary".
There's no additional detail about which key it is that isn't in the secondary, so not sure the source of the issue. The error happens on each of the last three records in the database. Each one has some null values in a MANY_TO_ONE secondary indexed field.
We've tried deleting from secondary key index first, but still get the exception. The exceptions in each case occur when deleting from the primary index.
Could having null values in a secondary index somehow be causing problems (even if the relationship type is MANY_TO_ONE)?
-tyson