4 ms·
Collection level locking isn't in 2.4. Working on more granular locking for 2.6/2.8. May skip collection level entirely for something more granular. More detail
by spf13 14y ago
Collection level locking isn't in 2.4. Working on more granular locking for 2.6/2.8. May skip collection level entirely for something more granular. More details can be found in the collection level locking ticket https://jira.mongodb.org/browse/SERVER-1240 https://jira.mongodb.org/browse/SERVER-1240
- davidkellis 14y agoSkipping collection level locking and going for something more granular (like document level) would be awesome.
- tomsthumb 14y agoDon't you pretty much get document level locking by using multiple $<update> modifiers in a single query?
- apendleton 14y agoFrom an atomicity perspective, yes. From a performance perspective, no; other concurrent operations affecting anything else on the whole database wait on your write.