diff options
author | Dianna Hohensee <dianna.hohensee@10gen.com> | 2018-03-21 10:12:34 -0400 |
---|---|---|
committer | Dianna Hohensee <dianna.hohensee@10gen.com> | 2018-03-22 15:48:54 -0400 |
commit | 379044733ab55adf136e7cbbff40a4b6b3b80931 (patch) | |
tree | c5b1ddb46194fe8f2ec0d9ba4069467eef9b4dc8 /src/mongo/db/concurrency/lock_manager.h | |
parent | b90e530039593357d49f8f5bc7e431a667804000 (diff) | |
download | mongo-379044733ab55adf136e7cbbff40a4b6b3b80931.tar.gz |
SERVER-33316 Remove limit on number of locks a single operation can take
(Replaces the pre-allocated array in FastMapNoAlloc with a dynamic deque)
Diffstat (limited to 'src/mongo/db/concurrency/lock_manager.h')
-rw-r--r-- | src/mongo/db/concurrency/lock_manager.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/concurrency/lock_manager.h b/src/mongo/db/concurrency/lock_manager.h index ae64a9c3398..2956232f996 100644 --- a/src/mongo/db/concurrency/lock_manager.h +++ b/src/mongo/db/concurrency/lock_manager.h @@ -77,7 +77,7 @@ public: * lock becomes granted, the notification will not be invoked. * * If the return value is LOCK_WAITING, the notification object *must* - * live at least until the notfy method has been invoked or unlock has + * live at least until the notify method has been invoked or unlock has * been called for the resource it was assigned to. Failure to do so will * cause the lock manager to call into an invalid memory location. * @param mode Mode in which the resource should be locked. Lock upgrades are allowed. |