diff options
author | Dwight <dwight@10gen.com> | 2012-04-25 14:49:17 -0400 |
---|---|---|
committer | Dwight <dwight@10gen.com> | 2012-04-25 14:49:17 -0400 |
commit | 50a2d2cacc5c3233abf573c75bc0c7af9056e642 (patch) | |
tree | 39122fac93f55a674dd6464bd02898e168166186 /src/mongo/db/d_concurrency.h | |
parent | 007d202d65682847e7ba0cc281a7650a5604e069 (diff) | |
download | mongo-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.h | 2 |
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(); |