LatchNotHeldException encountered during db.preload(0,0) -
11-26-2005
, 03:57 PM
We open a bdb environment in read-only mode and call preload(0,0) on
the databases in it.
On one of our nodes, we consistently see the following error during
preload:
2005-11-26 00:50:14,140 [ERROR] --- Error during preload [main]:
com.sleepycat.je.latch.LatchNotHeldException: Latch(BIN4289017) not
held
at com.sleepycat.je.latch.Latch.release(Latch.java:19 3)
at com.sleepycat.je.tree.IN.releaseLatch(IN.java:358)
at
com.sleepycat.je.dbi.DatabaseImpl.preload(Database Impl.java:894)
at com.sleepycat.je.Database.preload(Database.java:71 2)
at
com.opinmind.bdbie.DualDatabaseHandle.preloadMain( DualDatabaseHandle.java:90)
at
com.opinmind.bdbie.BdbIndexEngine.preloadMain(BdbI ndexEngine.java:850)
at
com.opinmind.bdbie.BdbIndexEngine.reopenMain(BdbIn dexEngine.java:776)
at
com.opinmind.opalqueryengine.QueryEngine.reopenInd ex(QueryEngine.java:423)
at
com.opinmind.opalqueryengine.QueryEngineServer.exe cuteCommand(QueryEngineServer.java:49)
at
com.opinmind.socket.RequestProcessor.run(RequestPr ocessor.java:74)
..... We also see subsequent errors for trying to open other databases
in the env.
com.sleepycat.je.latch.LatchNotHeldException: Latch(BIN9368) not held
....
Can someone enlighten us on what might be happening? What types of
issues cause the LatchNotHeldException? --- there's only one process
(with multiple threads) accessing the same read-only enviornment/db
handles....
much thanks,
~Heng |