db lock problem

7 views
Skip to first unread message

chenshangan521

unread,
Jul 11, 2011, 11:04:16 PM7/11/11
to mongodb-user
 
from this slice, I see current lock is global, does it mean any write will acquire a lock on all databases ?
I drop a database, it lasts about 3 minutes, during this period all reads are blocked, these reads are query data from other databases. I don't know why writes in one db will affect other dbs. 
 
 
 
2011-07-12

chenshangan521

axlfu

unread,
Jul 11, 2011, 11:38:54 PM7/11/11
to mongodb-user


On Jul 12, 11:04 am, "chenshangan521" <chenshangan...@gmail.com>
wrote:
> http://www.mongodb.org/display/DOCS/How+does+concurrency+work
>
> from this slice, I see current lock is global, does it mean any write will acquire a lock on all databases ?
Yes

> I drop a database, it lasts about 3 minutes, during this period all reads are blocked, these reads are query data from other databases. I don't know why writes in one db will affect other dbs.
pls watch (or vote) this issue
https://jira.mongodb.org/browse/SERVER-1830

>
> 2011-07-12
>
> chenshangan521
Reply all
Reply to author
Forward
0 new messages