[SERVER-14668] Integrate global and database locks into lock manager Created: 23/Jul/14  Updated: 02/Aug/18  Resolved: 16/Sep/14

Status: Closed
Project: Core Server
Component/s: Concurrency
Affects Version/s: None
Fix Version/s: 2.7.7

Type: Task Priority: Major - P3
Reporter: Ian Whalen (Inactive) Assignee: Kaloian Manassiev
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
related to SERVER-15541 Re-enable yielding Closed
Tested
Participants:
Linked BF Score: 0

 Comments   
Comment by Githook User [ 16/Dec/14 ]

Author:

{u'username': u'GeertBosch', u'name': u'Geert Bosch', u'email': u'geert@mongodb.com'}

Message: SERVER-14668: Rename lock_mgr_new to lock_manager
Branch: master
https://github.com/mongodb/mongo/commit/bc64649a70fe366c46ffab601fc378dbc4286e1c

Comment by Githook User [ 27/Oct/14 ]

Author:

{u'username': u'GeertBosch', u'name': u'Geert Bosch', u'email': u'geert@mongodb.com'}

Message: SERVER-14668: Use SimpleMutex instead of SpinLock for LockManager

There can be contention on these, so spin locks are not appropriate.
Branch: master
https://github.com/mongodb/mongo/commit/3ab3cefd696253cc81b5f891c2ea7d60384f596b

Comment by Githook User [ 19/Oct/14 ]

Author:

{u'username': u'erh', u'name': u'Eliot Horowitz', u'email': u'eliot@10gen.com'}

Message: SERVER-14668: enable collection level locking as default
Branch: master
https://github.com/mongodb/mongo/commit/edfd13d04532e3e2d86677ce8d1fb5f0fc588904

Comment by Githook User [ 19/Oct/14 ]

Author:

{u'username': u'erh', u'name': u'Eliot Horowitz', u'email': u'eliot@10gen.com'}

Message: SERVER-14668: fix possible deadlock on profiling
Branch: master
https://github.com/mongodb/mongo/commit/80dbf7994401f178f382e5ae57edb7ce96533a0c

Comment by Githook User [ 19/Oct/14 ]

Author:

{u'username': u'erh', u'name': u'Eliot Horowitz', u'email': u'eliot@10gen.com'}

Message: SERVER-14668: pull collection creation even higher on update path to avoid deadlock
Branch: master
https://github.com/mongodb/mongo/commit/74835f660d9315024994877de3c40cd542625fa1

Comment by Githook User [ 16/Oct/14 ]

Author:

{u'username': u'GeertBosch', u'name': u'Geert Bosch', u'email': u'geert@mongodb.com'}

Message: SERVER-14668: Use server parameter to enable CLL

This does not affect storage engines that support document level locking.
Branch: master
https://github.com/mongodb/mongo/commit/80760f72bb9a23f256e540adfd70b33eb6c08fd2

Comment by Githook User [ 09/Oct/14 ]

Author:

{u'username': u'RedBeard0531', u'name': u'Mathias Stearn', u'email': u'mathias@10gen.com'}

Message: SERVER-14668 Quick implementation of intent locking for inserts
Branch: master
https://github.com/mongodb/mongo/commit/30bfed3cdffacdea94b15eb60b83cbb77ea338cd

Comment by Githook User [ 09/Oct/14 ]

Author:

{u'username': u'GeertBosch', u'name': u'Geert Bosch', u'email': u'geert@mongodb.com'}

Message: SERVER-14668: Collection level locking for update path

Temporarily disable collection locking for MMAPv1.
Branch: master
https://github.com/mongodb/mongo/commit/5ea4221f81e7af9272e4e687d516bb439ef29498

Comment by Githook User [ 08/Oct/14 ]

Author:

{u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}

Message: SERVER-14668 Remove 'experimental doc locking legacy code'

o Cleans up references to the experimental doc locking code.
o Removes the 'old' lock manager.
o Moves the 'new' lock manager out of the 'newlm' namespace.
Branch: master
https://github.com/mongodb/mongo/commit/738c83f6671178e663cef0c3f548f5a046039cc9

Comment by Githook User [ 08/Oct/14 ]

Author:

{u'username': u'monkey101', u'name': u'Dan Pasette', u'email': u'dan@10gen.com'}

Message: SERVER-14668 ignore empty options returned from listCollections in dumprestoreWithNoOptions.js
Branch: master
https://github.com/mongodb/mongo/commit/686dd80d07ea82dc2b62a6149e14ca6139e296c1

Comment by Githook User [ 07/Oct/14 ]

Author:

{u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}

Message: SERVER-14668 listIndexes command should take IS database lock
Branch: master
https://github.com/mongodb/mongo/commit/cbaa407af054f9e3de3e82ea0225069a43a6c462

Comment by Githook User [ 07/Oct/14 ]

Author:

{u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}

Message: SERVER-14668 Change read paths to acquire IS lock on the DB instead of S

Also change respective assertions, which are checking for S-lock on the
database.
Branch: master
https://github.com/mongodb/mongo/commit/2b7b105b3c26bc779d30d3c7ec4b93a0115569a8

Comment by Githook User [ 06/Oct/14 ]

Author:

{u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}

Message: SERVER-14668/SERVER-15294 Collection-level locking for all read paths
Branch: master
https://github.com/mongodb/mongo/commit/101e026f45dea5e9e68520238495c89a476e6172

Comment by Githook User [ 03/Oct/14 ]

Author:

{u'username': u'GeertBosch', u'name': u'Geert Bosch', u'email': u'geert@mongodb.com'}

Message: Revert "SERVER-14668: Replace uses of DBWrite lock with DBLock"

This reverts commit da599844c97ef6d290c03e073a9bafe41c1a914e.

Conflicts:
src/mongo/db/repl/repl_coordinator_external_state_impl.cpp
src/mongo/dbtests/counttests.cpp
src/mongo/dbtests/querytests.cpp
Branch: master
https://github.com/mongodb/mongo/commit/f2daf8addd4ef391c135a3da2a1472777405ba06

Comment by Githook User [ 03/Oct/14 ]

Author:

{u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}

Message: SERVER-14668 Fix compile break due to a previous commit
Branch: master
https://github.com/mongodb/mongo/commit/6d8ef4551dfb1e76b480602e8f1d6224656e5841

Comment by Githook User [ 03/Oct/14 ]

Author:

{u'name': u'Hari Khalsa', u'email': u'hkhalsa@mongodb.com'}

Message: SERVER-14668 expand support for yielding, add back in yield policy
Branch: master
https://github.com/mongodb/mongo/commit/9638e648cef939532fc883d01af8864538a3c1c4

Comment by Githook User [ 03/Oct/14 ]

Author:

{u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}

Message: SERVER-14668 Lock manager's LockResource should point to the LockHead

This is so we don't have to look up the lock head from the resource every
time.

Also moves the main locking functionality in the LockerImpl to a private
method, which will be used in more than one place after MMAP V1 flush lock
yielding is added.
Branch: master
https://github.com/mongodb/mongo/commit/90768c7a1129bb08d8bfca4840f53d33c96a0183

Comment by Githook User [ 02/Oct/14 ]

Author:

{u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}

Message: SERVER-14668 Put Lock/Global server status section in the server library only
Branch: master
https://github.com/mongodb/mongo/commit/706110ef69e9700536fca375b6c746037e2172a5

Comment by Githook User [ 01/Oct/14 ]

Author:

{u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}

Message: SERVER-14668 Move WriteUnitOfWork around DatabaseCatalogEntry creation outside of DatabaseHolder

This makes it up to the storage engine to decide what transactional
operations to do during database creation.

Cleans up some references to operation context, which were not necessary.
Branch: master
https://github.com/mongodb/mongo/commit/8de392055e1ba38621c695c3d379d87fd74b84a7

Comment by Githook User [ 01/Oct/14 ]

Author:

{u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}

Message: SERVER-14668 Cleanup MMAPV1-specific classes from db.cpp

o Moves DataFileSync to be under MMAP V1, because it is only used there
o Cleanup variable name collision with replSettings
Branch: master
https://github.com/mongodb/mongo/commit/26ae74c6e9e5ec7c1a9d4715158593d2127e7dad

Comment by Githook User [ 01/Oct/14 ]

Author:

{u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}

Message: SERVER-14668 Move docLockingSupported out of d_concurrency.cpp

It has to be used in numerous places, so it is better suited as a global API.
Branch: master
https://github.com/mongodb/mongo/commit/034525fa60dba5191b6183bb47a5403dcac1e7ef

Comment by Githook User [ 01/Oct/14 ]

Author:

{u'username': u'GeertBosch', u'name': u'Geert Bosch', u'email': u'geert@mongodb.com'}

Message: SERVER-14668: Replace uses of DBWrite lock with DBLock

This reverts commit 8e83e72512fcb8eb8f06987927766c0b77cea23e.

This reinstates commit ae333bc94a7d89d3220dcae9579fcaf68aa2e290
and commit 962f959a09b63aa0482d7e0c9bad89363d1e1194, and fixes
three cases where the wrong database name was locked.
Branch: master
https://github.com/mongodb/mongo/commit/da599844c97ef6d290c03e073a9bafe41c1a914e

Comment by Githook User [ 29/Sep/14 ]

Author:

{u'username': u'GeertBosch', u'name': u'Geert Bosch', u'email': u'geert@mongodb.com'}

Message: BF-532: Revert "SERVER-14668: Replace uses of DBWrite lock with DBLock"

This reverts commit ae333bc94a7d89d3220dcae9579fcaf68aa2e290.
This reverts commit 962f959a09b63aa0482d7e0c9bad89363d1e1194.
Branch: master
https://github.com/mongodb/mongo/commit/8e83e72512fcb8eb8f06987927766c0b77cea23e

Comment by Githook User [ 29/Sep/14 ]

Author:

{u'name': u'Hari Khalsa', u'email': u'hkhalsa@mongodb.com'}

Message: SERVER-14668 don't release locks when in a nested context, add support for yielding
Branch: master
https://github.com/mongodb/mongo/commit/57af98451c500c5d8112cfc5e75917a0e561069f

Comment by Githook User [ 26/Sep/14 ]

Author:

{u'username': u'milkie', u'name': u'Eric Milkie', u'email': u'milkie@10gen.com'}

Message: SERVER-14668: Replace uses of DBWrite lock with DBLock
Branch: master
https://github.com/mongodb/mongo/commit/ae333bc94a7d89d3220dcae9579fcaf68aa2e290

Comment by Githook User [ 26/Sep/14 ]

Author:

{u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}

Message: SERVER-14668 Move getIndexSizeForCollection to be a method on Collection
Branch: master
https://github.com/mongodb/mongo/commit/f905b0617dd1ed35acb9291edeab95b557388019

Comment by Githook User [ 26/Sep/14 ]

Author:

{u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}

Message: SERVER-14668 Use ensureShardVersionOKOrThrow for collection shard version checking

This commit exposes a SendStaleConfigException-based method for checking
shard staleness. This will be used in all methods (other than the batch
executor).

Also clean-up some unnecessary includes.
Branch: master
https://github.com/mongodb/mongo/commit/a1f9188b4d58daa4e80a344116dbd85b636962da

Comment by Githook User [ 25/Sep/14 ]

Author:

{u'username': u'GeertBosch', u'name': u'Geert Bosch', u'email': u'geert@mongodb.com'}

Message: SERVER-14668: Replace uses of DBWrite lock with DBLock

Make the lock mode explicit as preparation to move some to intent locks,
and use proper database name instead of full namespace string to lock
databases.
Branch: master
https://github.com/mongodb/mongo/commit/962f959a09b63aa0482d7e0c9bad89363d1e1194

Comment by Githook User [ 25/Sep/14 ]

Author:

{u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}

Message: Revert two commits

"SERVER-14668 Fix compile break on 32-bit and Clang": bcea622441dc2f689c4651981f9d7929a1dd75b3

"SERVER-14668 Move getIndexSizeForCollection to be a method on Collection": e671a2c31f6b555254e4ad8265f66578f8c805aa
Branch: master
https://github.com/mongodb/mongo/commit/f12b81dd15143d62768a4082f11ccc26692d6625

Comment by Githook User [ 25/Sep/14 ]

Author:

{u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}

Message: Revert two commits

"SERVER-14668 Fix compile break on 32-bit and Clang": bcea622441dc2f689c4651981f9d7929a1dd75b3

"SERVER-14668 Move getIndexSizeForCollection to be a method on Collection": e671a2c31f6b555254e4ad8265f66578f8c805aa
Branch: master
https://github.com/mongodb/mongo/commit/f12b81dd15143d62768a4082f11ccc26692d6625

Comment by Githook User [ 25/Sep/14 ]

Author:

{u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}

Message: SERVER-14668 Fix compile break on 32-bit and Clang

Introduced by commit e671a2c31f6b555254e4ad8265f66578f8c805aa
Branch: master
https://github.com/mongodb/mongo/commit/bcea622441dc2f689c4651981f9d7929a1dd75b3

Comment by Githook User [ 25/Sep/14 ]

Author:

{u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}

Message: SERVER-14668 Move getIndexSizeForCollection to be a method on Collection
Branch: master
https://github.com/mongodb/mongo/commit/e671a2c31f6b555254e4ad8265f66578f8c805aa

Comment by Githook User [ 25/Sep/14 ]

Author:

{u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}

Message: SERVER-14668 Do not pass Database into methods where Collection will suffice
Branch: master
https://github.com/mongodb/mongo/commit/757c4773742ee8597a0e62dd224b40d82d244de6

Comment by Githook User [ 24/Sep/14 ]

Author:

{u'name': u'Hari Khalsa', u'email': u'hkhalsa@mongodb.com'}

Message: SERVER-14668 modify lock snapshot to release locks upon snapshotting
Branch: master
https://github.com/mongodb/mongo/commit/ae200202f572851c22a82372b871f7981c8cea86

Comment by Githook User [ 24/Sep/14 ]

Author:

{u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}

Message: SERVER-14668 Remove checkShardVersion

Shard version checking needs to be done under a collection lock and it is
already done inside the particular commands, so no need to do it again in
instance.cpp
Branch: master
https://github.com/mongodb/mongo/commit/551329f05738f5f5c99df68b0598625ea16db4c6

Comment by Githook User [ 23/Sep/14 ]

Author:

{u'name': u'Hari Khalsa', u'email': u'hkhalsa@mongodb.com'}

Message: SERVER-14668 take care of signed vs unsigned mismatch
Branch: master
https://github.com/mongodb/mongo/commit/2cc743d006a03e4da933168d1e70d9c1799df9f4

Comment by Githook User [ 23/Sep/14 ]

Author:

{u'name': u'Hari Khalsa', u'email': u'hkhalsa@mongodb.com'}

Message: SERVER-14668 allow export of locks currently held
Branch: master
https://github.com/mongodb/mongo/commit/e20de4f8efaa1d052068c7e0163245f403ade216

Comment by Githook User [ 22/Sep/14 ]

Author:

{u'username': u'GeertBosch', u'name': u'Geert Bosch', u'email': u'geert@mongodb.com'}

Message: SERVER-14668: Add DBLock class as replacement for DBRead/DBWrite
Branch: master
https://github.com/mongodb/mongo/commit/9bd9a631a1bfdcb1eb6f8aecd345a225a8e07ec1

Comment by Githook User [ 22/Sep/14 ]

Author:

{u'username': u'GeertBosch', u'name': u'Geert Bosch', u'email': u'geert@mongodb.com'}

Message: SERVER-14668 update stage doesn't create collection, update executor does if needed
Branch: master
https://github.com/mongodb/mongo/commit/d16ed5e1c2f73d4d529221045385e16e3bec7e44

Comment by Githook User [ 19/Sep/14 ]

Author:

{u'username': u'erh', u'name': u'Eliot Horowitz', u'email': u'eliot@10gen.com'}

Message: SERVER-14668: atLeastReadLock can be IS
Branch: master
https://github.com/mongodb/mongo/commit/151dd9ff5f6f4acb99c030dbc533a632412108f9

Comment by Githook User [ 19/Sep/14 ]

Author:

{u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}

Message: SERVER-14668 Remove TempRelease for GlobalRead branch in dbtest.exe
Branch: master
https://github.com/mongodb/mongo/commit/29e0cbf47cf1b6b0eb62515985bac56e59e1f982

Comment by Githook User [ 19/Sep/14 ]

Author:

{u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}

Message: SERVER-14668 Remove unit-test for GlobalRead TempRelease
Branch: master
https://github.com/mongodb/mongo/commit/6b3ea60ba07c98d6aa69645b398aeade3e165cc4

Comment by Githook User [ 19/Sep/14 ]

Author:

{u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}

Message: SERVER-14668 TempRelease is never used for the GlobalRead lock
Branch: master
https://github.com/mongodb/mongo/commit/6a6bc5198a694c327901e4685302be20e1b04345

Comment by Githook User [ 19/Sep/14 ]

Author:

{u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}

Message: SERVER-14668 DBRead should be acquiring S lock, not X

This fixes a bug introduced in commit
85e785fdce07dbb23b49220f4798f4627cf6af79.
Branch: master
https://github.com/mongodb/mongo/commit/986d4a410e55a317da3ed99fe1f4fc21354400ce

Comment by Githook User [ 18/Sep/14 ]

Author:

{u'name': u'Hari Khalsa', u'email': u'hkhalsa@mongodb.com'}

Message: SERVER-14668 stash recovery unit with ClientCursor
Branch: master
https://github.com/mongodb/mongo/commit/10f6f87c696ad742fa8f68d382531141104083f1

Comment by Githook User [ 18/Sep/14 ]

Author:

{u'username': u'GeertBosch', u'name': u'Geert Bosch', u'email': u'geert@mongodb.com'}

Message: SERVER-14668 fix locking issue in LockerImpl::dump
Branch: master
https://github.com/mongodb/mongo/commit/48b2da7c1c40d4c85e6f82ea041386bd0ee8b4ef

Comment by Githook User [ 16/Sep/14 ]

Author:

{u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}

Message: Revert "SERVER-14668 Move lock acquisition further down in receivedInsert"

This reverts commit 7233460d3b975b4804f7721ce81a92e91033219d.
Branch: master
https://github.com/mongodb/mongo/commit/1145e75b01f16d8a2d6a576bca75f520d758149a

Comment by Githook User [ 16/Sep/14 ]

Author:

{u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}

Message: SERVER-14668 Move top-level locks (Global and Commit) to the Lock Manager

o Adds the global and flush lock resources and begin/end transaction calls
to delimit where lock acquisition would start and end.

o Gets rid of the QLock and changes durability to use a single flush
thread, which is activated when commit is requested.
Branch: master
https://github.com/mongodb/mongo/commit/6f413c78ad12d5d054e529e1ef1b6f24a11a63f8

Comment by Githook User [ 16/Sep/14 ]

Author:

{u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}

Message: SERVER-14668 Move lock acquisition further down in receivedInsert
Branch: master
https://github.com/mongodb/mongo/commit/7233460d3b975b4804f7721ce81a92e91033219d

Comment by Githook User [ 11/Sep/14 ]

Author:

{u'username': u'stbrody', u'name': u'Spencer T Brody', u'email': u'spencer@mongodb.com'}

Message: SERVER-14668 Fix compile on some platforms
Branch: master
https://github.com/mongodb/mongo/commit/36a6b94c4d6e44b192da3059f6efe42fe4d82f50

Comment by Githook User [ 11/Sep/14 ]

Author:

{u'username': u'hkhalsa', u'name': u'Hari Khalsa', u'email': u'hkhalsa@10gen.com'}

Message: SERVER-14668 split dbdirectclient out of instance.cpp
Branch: master
https://github.com/mongodb/mongo/commit/1a90996313ec83f0913bf2aef322193b0884f499

Comment by Githook User [ 11/Sep/14 ]

Author:

{u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}

Message: SERVER-14668 make getLockMode/isLockHeldForMode pure virtual
Branch: master
https://github.com/mongodb/mongo/commit/b6e5d1e2af49ebb2edfb6522ba744d344b73c4f6

Comment by Githook User [ 11/Sep/14 ]

Author:

{u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}

Message: SERVER-14668 Make Locker an interface

Turns the Locker class into an interface and changes most usages of
LockState to now be either accesses to this interface or to use the
default interface implementation.
Branch: master
https://github.com/mongodb/mongo/commit/b47b91801021f5125fbcee07bf827b237ad1b4ee

Comment by Githook User [ 11/Sep/14 ]

Author:

{u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}

Message: SERVER-14668 Move all LockState methods into the Locker class

This change doesn't have any functional effect. Just prepares the
LockState class to be removed.
Branch: master
https://github.com/mongodb/mongo/commit/3e5710a29505883143feb0b0883321830c989820

Comment by Githook User [ 10/Sep/14 ]

Author:

{u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}

Message: SERVER-14668 Fix the lock manager granting logic
Branch: master
https://github.com/mongodb/mongo/commit/2bae1279afcab72bd20967d65c8e350f8c2cffb9

Comment by Githook User [ 09/Sep/14 ]

Author:

{u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}

Message: SERVER-14668 Remove usages of DBDirectClient default constructor

Fixes commit da86d5ed4f14dbd05fa713b530759a11ab9b149c.
Branch: master
https://github.com/10gen/mongo-enterprise-modules/commit/495fdf45ba59005b0c6a5a6266b1c2358bbbc7ec

Comment by Githook User [ 09/Sep/14 ]

Author:

{u'username': u'hkhalsa', u'name': u'Hari Khalsa', u'email': u'hkhalsa@10gen.com'}

Message: SERVER-14668 remove no-OpCtx DBDirectClient and update all former users
Branch: master
https://github.com/mongodb/mongo/commit/da86d5ed4f14dbd05fa713b530759a11ab9b149c

Comment by Githook User [ 05/Sep/14 ]

Author:

{u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}

Message: SERVER-14668 Extend the LockManager API and add comments

o Adds downgrade call for the lock manager, which will soon be necessary
for the Flush lock and also for document-level locking.

o Adds timeout parameter for lock grant to occur.

o Adds comments where they were missing before.
Branch: master
https://github.com/mongodb/mongo/commit/22b33f7f67cbe1cbfe0c2eda7f0f42c91e690141

Comment by Githook User [ 05/Sep/14 ]

Author:

{u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}

Message: SERVER-14668 Fix the LockManager conflict matrix and add unit-test
Branch: master
https://github.com/mongodb/mongo/commit/51fbe5568f0b76fda292a9864f65299df77b61fa

Comment by Githook User [ 05/Sep/14 ]

Author:

{u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}

Message: SERVER-14668 Remove commitIfNeeded from the public RecoveryUnit API

Move its functionality to be under MMAP V1 code only.
Branch: master
https://github.com/mongodb/mongo/commit/a6b9d6deea3cebc29603f22d29a2e79807ca4dc0

Comment by Githook User [ 04/Sep/14 ]

Author:

{u'username': u'hkhalsa', u'name': u'Hari Khalsa', u'email': u'hkhalsa@10gen.com'}

Message: SERVER-14668 remove some usages of cc()
Branch: master
https://github.com/mongodb/mongo/commit/722b37791dc3adececd74894ccb61e3da64ea94e

Comment by Githook User [ 28/Aug/14 ]

Author:

{u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}

Message: SERVER-14668 Distlock constants to enums and fix some includes

The macros were conflicting with LockManager enums, which are in different
namespaces (LOCK_TIMEOUT in particular).
Branch: master
https://github.com/mongodb/mongo/commit/3af53b365e5fd67df35134f4190202b4f0c4c6a0

Comment by Githook User [ 28/Aug/14 ]

Author:

{u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}

Message: SERVER-14668 Remove unused includes in client.h and curop.h

Having these extra includes caused large portion of the code to be rebuilt
for changes to relatively standalone headers.
Branch: master
https://github.com/mongodb/mongo/commit/6f2e6b46bf9c0b8b6042c821a56edf8968c24f4b

Comment by Githook User [ 27/Aug/14 ]

Author:

{u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}

Message: SERVER-14668 Fix for commit c069fc13a9 which broke OSX build
Branch: master
https://github.com/mongodb/mongo/commit/a9cd3f0964e4cec1efd3360d2fbaffae495737c0

Comment by Githook User [ 27/Aug/14 ]

Author:

{u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}

Message: SERVER-14668 Remove d_globals.h/.cpp

They were only used for ClientCursorMonitor startup, so I moved this to be
a singleton task.
Branch: master
https://github.com/mongodb/mongo/commit/c069fc13a91204940c82a90f7c2c2f09b80c3428

Comment by Githook User [ 25/Aug/14 ]

Author:

{u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}

Message: SERVER-14668 Move DB-level locks to be on the LockManager
Branch: master
https://github.com/mongodb/mongo/commit/052175eb9e0b793de19575fea37a7fdd95126a50

Comment by Githook User [ 25/Aug/14 ]

Author:

{u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}

Message: SERVER-14668 Implementation of LockManager and unit tests

This lock manager will initially be used for the top-level locks (Global,
Flush, Database and Collection) and may eventually be merged with the lock
manager used for the MMAPV1 engine.
Branch: master
https://github.com/mongodb/mongo/commit/eacc825ccae11f81a3d06513ceced054b9562ef6

Comment by Githook User [ 25/Aug/14 ]

Author:

{u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}

Message: SERVER-14668 Add function to StringBuilder for formatting addresses
Branch: master
https://github.com/mongodb/mongo/commit/a9f9040c76e2927aa801728578b86541336c2fa2

Comment by Githook User [ 25/Aug/14 ]

Author:

{u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}

Message: Revert "SERVER-14668 Add function to StringBuilder for formatting addresses"

This reverts commit d1767c999d4371fc1aa1eb85f5f8b58c0b5f4848.
Branch: master
https://github.com/mongodb/mongo/commit/4f5580004184c576f7ad5c1ea738c73681cd4e48

Comment by Githook User [ 25/Aug/14 ]

Author:

{u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}

Message: SERVER-14668 Add function to StringBuilder for formatting addresses
Branch: master
https://github.com/mongodb/mongo/commit/d1767c999d4371fc1aa1eb85f5f8b58c0b5f4848

Comment by Githook User [ 13/Aug/14 ]

Author:

{u'username': u'kaloianm', u'name': u'Kaloian Manassiev', u'email': u'kaloian.manassiev@mongodb.com'}

Message: SERVER-14668 Move locking related files to be under mongo/db/concurrency

Also performs some cleanup of the includes around locking.
Branch: master
https://github.com/mongodb/mongo/commit/c610cfe5c58d1f4301f5535d3e166d5d4332bc87

Generated at Thu Feb 08 03:35:35 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.