Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Berkely DB > Re: DB::put fun...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 3 of 9 Topic 1756 of 1805
Post > Topic >>

Re: DB::put function is getting hanged

by Florian Weimer <fw@[EMAIL PROTECTED] > Jun 11, 2007 at 09:33 PM

> Am a fresher in BerkeleyDB. If i open a database file(using
> transaction) for put(adding to DB) and if i tried to open the same
> file in different transaction the put is hanging. It seems a deadlock
> is occuring. Is it not allowed, the same database file to be opened in
> more than one transactions?

It's allowed, but only if the threads or processes executing the open
and the put are ordered in some way unknown to Berkeley DB.  If you've
got a single process that tries to do these things, they are trivially
ordered, so it's not allowed.  Another source of orderings is IPC.
 




 9 Posts in Topic:
DB::put function is getting hanged
rohithravi@[EMAIL PROTECT  2007-06-10 20:06:01 
Re: DB::put function is getting hanged
sylecn@[EMAIL PROTECTED]   2007-06-11 11:21:02 
Re: DB::put function is getting hanged
Florian Weimer <fw@[EM  2007-06-11 21:33:59 
Re: DB::put function is getting hanged
rohithravi@[EMAIL PROTECT  2007-06-11 18:20:41 
Re: DB::put function is getting hanged
Don Anderson <don.ande  2007-06-18 04:58:22 
Re: DB::put function is getting hanged
rohithravi@[EMAIL PROTECT  2007-06-21 02:13:42 
Re: DB::put function is getting hanged
Don Anderson <don.ande  2007-06-22 19:34:03 
Re: DB::put function is getting hanged
rohithravi@[EMAIL PROTECT  2007-06-27 20:40:57 
Re: DB::put function is getting hanged
rohithravi@[EMAIL PROTECT  2007-06-27 20:45:37 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri Oct 10 12:58:08 CDT 2008.