[SERVER-14006] Prototype Lock Manager for document-level locking Created: 20/May/14  Updated: 02/Aug/18  Resolved: 02/Jul/14

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

Type: Task Priority: Major - P3
Reporter: Craig Harris Assignee: Gregory McKeon (Inactive)
Resolution: Done Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Tested
Participants:

 Description   

This version features:

  • resources, identified by an ID, can be acquired and released by a TransactionId in shared or exclusive mode
  • resources can have a container, for example a resource can be a RecordId and its container can be a RecordStore
  • acquiring a resource also acquired its container
  • resource acquisitions can be upgraded or downgraded with certain limitations on upgrade
  • the lock manager supports policies including FirstCome, OldestTxFirst, MostBlockingTxFirst, etc.
  • stats collected
  • blocking, awakening and deadlock detection


 Comments   
Comment by Githook User [ 23/Jun/14 ]

Author:

{u'name': u'Craig Harris', u'email': u'craig.harris@10gen.com'}

Message: SERVER-14006 Partition the experimental lock manager

This allows the experimental document-level locking to scale past 4x
cores.
Branch: master
https://github.com/mongodb/mongo/commit/6c8a8a275bd12282c64ef6d60dc9d3d27975bd9b

Comment by Githook User [ 20/Jun/14 ]

Author:

{u'name': u'Craig Harris', u'email': u'craig.harris@10gen.com'}

Message: SERVER-14006 Experimental document-level locking for in-place updates

This commit enables experimental (and untested) document-level locking for
in-place updates, which do not modify indexed values.

It should absolutely not be used on production systems and is for
demonstration purposes only.

It runs under server parameter called useExperimentalDocLocking. In order
to enable it, run:

./mongod <other parameters> --setParameter useExperimentalDocLocking=true
Branch: master
https://github.com/mongodb/mongo/commit/87739d45b9c974da88ca37d740c71b441249d45b

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