dbTalk Databases Forums  

LatchNotHeldException encountered during db.preload(0,0)

comp.databases.berkeley-db comp.databases.berkeley-db


Discuss LatchNotHeldException encountered during db.preload(0,0) in the comp.databases.berkeley-db forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
heng.mei@gmail.com
 
Posts: n/a

Default 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


Reply With Quote
  #2  
Old   
mark@sleepycat.com
 
Posts: n/a

Default Re: LatchNotHeldException encountered during db.preload(0,0) - 11-28-2005 , 02:54 PM






Hello Heng,

LatchNotHeldException should not normally occur. I will open a support
request and contact you separately via email so that we can trouble
shoot this problem.

Mark


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.