summaryrefslogtreecommitdiff
path: root/src/mongo/db/d_concurrency.h
diff options
context:
space:
mode:
authorDwight <dwight@10gen.com>2012-04-25 14:49:17 -0400
committerDwight <dwight@10gen.com>2012-04-25 14:49:17 -0400
commit50a2d2cacc5c3233abf573c75bc0c7af9056e642 (patch)
tree39122fac93f55a674dd6464bd02898e168166186 /src/mongo/db/d_concurrency.h
parent007d202d65682847e7ba0cc281a7650a5604e069 (diff)
downloadmongo-50a2d2cacc5c3233abf573c75bc0c7af9056e642.tar.gz
the journaling thread upgrades its qlock from R to W when it needs to REMAPPRIVATEVIEW. this upgrade
was not greedy and that was probably a bug. fixed.
Diffstat (limited to 'src/mongo/db/d_concurrency.h')
-rw-r--r--src/mongo/db/d_concurrency.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/d_concurrency.h b/src/mongo/db/d_concurrency.h
index 4213f4be4f7..923ff92d125 100644
--- a/src/mongo/db/d_concurrency.h
+++ b/src/mongo/db/d_concurrency.h
@@ -56,7 +56,7 @@ namespace mongo {
// i.e. you could grab globalread after globalwrite.
class GlobalWrite : public ScopedLock {
- const bool stoppedGreed;
+ bool stoppedGreed;
bool noop;
protected:
void tempRelease();