diff options
author | Antonin Kral <a.kral@bobek.cz> | 2011-03-17 00:05:43 +0100 |
---|---|---|
committer | Antonin Kral <a.kral@bobek.cz> | 2011-03-17 00:05:43 +0100 |
commit | 582fc32574a3b158c81e49cb00e6ae59205e66ba (patch) | |
tree | ac64a3243e0d2121709f685695247052858115c8 /db/background.h | |
parent | 2761bffa96595ac1698d86bbc2e95ebb0d4d6e93 (diff) | |
download | mongodb-582fc32574a3b158c81e49cb00e6ae59205e66ba.tar.gz |
Imported Upstream version 1.8.0
Diffstat (limited to 'db/background.h')
-rw-r--r-- | db/background.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/db/background.h b/db/background.h index 24ea1cb..ea424c9 100644 --- a/db/background.h +++ b/db/background.h @@ -21,16 +21,16 @@ #pragma once -namespace mongo { +namespace mongo { - /* these are administrative operations / jobs - for a namespace running in the background, and that only one + /* these are administrative operations / jobs + for a namespace running in the background, and that only one at a time per namespace is permitted, and that if in progress, you aren't allowed to do other NamespaceDetails major manipulations - (such as dropping ns or db) even in the foreground and must - instead uassert. + (such as dropping ns or db) even in the foreground and must + instead uassert. - It's assumed this is not for super-high RPS things, so we don't do + It's assumed this is not for super-high RPS things, so we don't do anything special in the implementation here to be fast. */ class BackgroundOperation : public boost::noncopyable { |