summaryrefslogtreecommitdiff
path: root/src/mongo/s/catalog/replset/replset_dist_lock_manager.cpp
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-24325 Remove the s/catalog/replset/ directory and move all its files ↵Spencer T Brody2016-09-211-491/+0
| | | | to s/catalog
* SERVER-25905 Release all config held distlocks and reacquire balancer ↵Dianna Hohensee2016-09-211-2/+1
| | | | distlocks in drain mode on config step up to primary
* SERVER-25744 failure to ping non-master is OKNathan Myers2016-09-191-1/+1
|
* SERVER-26160 Store std::string in ReplSetDistLockManager instead of StringDataKaloian Manassiev2016-09-191-7/+6
|
* Revert "SERVER-25905 Release all config held distlocks and reacquire ↵Dianna Hohensee2016-09-151-1/+2
| | | | | | balancer distlocks in drain mode on config step up to primary" This reverts commit f8212b6b37bea1bead354df86e8485761a519339.
* SERVER-25905 Release all config held distlocks and reacquire balancer ↵Dianna Hohensee2016-09-151-2/+1
| | | | distlocks in drain mode on config step up to primary
* SERVER-26013 Remove 'lockTryInterval' parameter from the DistLockManagerKaloian Manassiev2016-09-141-3/+5
|
* SERVER-26013 Add a tryLock method to the dist lock managerKaloian Manassiev2016-09-081-0/+22
|
* SERVER-26013 Remove ShardingCatalogClient::distLock and cleanup DistLockManagerKaloian Manassiev2016-09-081-1/+2
|
* SERVER-24991 log redaction for bson, client, auth, catalogThomas Schubert2016-09-021-13/+6
|
* SERVER-25703 enable dist lock unlock by sessionId AND _idDianna Hohensee2016-08-231-12/+36
|
* SERVER-24852 Add means to interrupt the sharding balancerKaloian Manassiev2016-08-171-1/+1
|
* SERVER-25202 Expose lock/unlock control on DistLockManagerKaloian Manassiev2016-08-031-18/+9
| | | | | | | | | This change exposes the lock/unlock methods as public on the DistLockManager. This enables the scenario of being able to pass locks between threads, which is necessary for the parallel balancer. Also makes the sharding balancer acquire the balancer distributed lock permanently.
* SERVER-24991 Redact streaming log messagesDan Pasette2016-07-201-11/+18
| | | | Reviewed all relevant files in src/mongo/s..
* SERVER-23971 Clang-Format codeMark Benvenuto2016-05-281-2/+2
|
* SERVER-24104 Replace stdx::duration with mongo::Duration.Andy Schwerin2016-05-171-1/+1
| | | | | | | The mongo::Duration type does overflow checking on casts and arithmetic. This patch also moves DESTRUCTOR_GUARD out of assert_util.h into destructor_guard.h in order to break an include cycle with duration.h.
* SERVER-24104 Replace direct uses of stdx::chrono::durations with MongoDB ↵Andy Schwerin2016-05-171-17/+16
| | | | | | duration using decls. This is a preliminary step for switching from stdx::chrono::duration to mongo::Duration.
* SERVER-23213 Remove all users of ShardRegistry::kAllRetriableErrorsSpencer T Brody2016-05-031-1/+3
| | | | This reverts commit f294d1dcd4884857d693b0f8a33cf1a6be434409.
* Revert "SERVER-23213 Remove all users of ShardRegistry::kAllRetriableErrors"Kyle Suarez2016-05-031-3/+1
| | | | This reverts commit 21cfba12a005431b08a8c69dcdb1f262622ea780.
* SERVER-23213 Remove all users of ShardRegistry::kAllRetriableErrorsSpencer T Brody2016-05-021-1/+3
|
* SERVER-23667 can overtake locks by using the same lockSessionID as the lock ↵Dianna Hohensee2016-04-201-8/+17
| | | | owner, via DistLockManager::lockWithSessionID
* SERVER-23137 Remove unused 'allowNetworking' argument from CatalogManager ↵Spencer T Brody2016-03-181-2/+1
| | | | startup/shutdown
* SERVER-20037 After CatalogManager swap release distributed locks held by old ↵Spencer T Brody2016-01-121-0/+11
| | | | CatalogManager
* SERVER-21050 Make CSRS use write concern timeout of 15 secondsKaloian Manassiev2015-12-161-3/+2
| | | | | | | | This change makes all CSRS majority writes to use a write concern timeout of 15 seconds instead of 5 seconds (for the dist lock manager) and infinity for the regular writes. It also contains a small change to improve error reporting.
* Revert "SERVER-21050 Make CSRS use write concern timeout of 15 seconds"Kaloian Manassiev2015-12-161-2/+3
| | | | This reverts commit 85e7a1558eb2e618194d5920dbffe9fc333ef52e.
* SERVER-21050 Make CSRS use write concern timeout of 15 secondsKaloian Manassiev2015-12-161-3/+2
| | | | | | | | This change makes all CSRS majority writes to use a write concern timeout of 15 seconds instead of 5 seconds (for the dist lock manager) and infinity for the regular writes. It also contains a small change to improve error reporting.
* SERVER-21050 Make dist lock timeouts uniformKaloian Manassiev2015-12-081-1/+2
| | | | | | This change makes the dist lock acquisition timeouts to be uniform across all users and sets the default to be 5 seconds (which is the maximum that we have been using so far).
* SERVER-21392 Fix broken unit-test replset_dist_lock_manager_testKaloian Manassiev2015-11-181-5/+9
|
* SERVER-21392 Make CSRS config server updates retryKaloian Manassiev2015-11-171-5/+46
| | | | | | This change makes the CSRS config server update operations used by the distributed lock manager and by the metadata updates to retry on NotMaster and network errors.
* SERVER-20082 add maxTimeMs to config catalog operationsMisha Tyulenev2015-10-131-44/+57
|
* SERVER-20855 Small cleanups and logging improvementsSpencer T Brody2015-10-121-1/+2
|
* Revert "SERVER-20082 Add OperationContext parameter to config methods in ↵Max Hirschhorn2015-10-061-57/+44
| | | | | | ShardRegistry" This reverts commit e40f1a1ba723184f276b28e01a240d8e5a6d3ecf.
* SERVER-20082 Add OperationContext parameter to config methods in ShardRegistryMisha Tyulenev2015-10-061-44/+57
|
* SERVER-20269 make distributed lock timeout configurable through failpointEsha Maharishi2015-09-161-6/+15
| | | | | | Closes #1019 Signed-off-by: Kamran Khan <kamran.khan@mongodb.com>
* SERVER-19897 Fix clang formatRandolph Tan2015-09-011-1/+1
|
* SERVER-19897 Cannot overtake lock if ping document is deleted in RS config ↵Randolph Tan2015-09-011-11/+14
| | | | servers
* SERVER-19903 Dist lock pinger not running for config RSRandolph Tan2015-08-281-1/+3
|
* SERVER-19543 Differentiate between shutting down catalog manager for ↵Andy Schwerin2015-08-191-1/+2
| | | | replacement and for process shutdown.
* SERVER-19861 converted uses of std::chrono::duration::count() to ↵Benety Goh2015-08-111-8/+6
| | | | mongo::durationCount()
* SERVER-19414 Use CatalogManagerReplicaSet when config servers are a replica setSpencer T Brody2015-07-231-0/+4
|
* SERVER-19272 LockpingsType should handle validation properlyDaniel Alabi2015-07-151-3/+4
|
* SERVER-19252 Move all mongos catalog types to s/catalogDaniel Alabi2015-07-021-2/+2
|
* SERVER-19099 Consistently use concurrency and time names via stdxAndrew Morrow2015-06-301-3/+2
|
* SERVER-19186 Improve replset distlock coverageRandolph Tan2015-06-291-12/+1
|
* SERVER-18579: Clang-Format - reformat code, no comment reflowMark Benvenuto2015-06-201-274/+253
|
* SERVER-18525 Fix rs dist lock log messageRandolph Tan2015-06-191-2/+2
|
* SERVER-18525 Mock out tick source in replset_dist_lock_manager_testRandolph Tan2015-06-171-5/+8
|
* SERVER-18525 Add log messages to match legacy dist lock manager when applicableRandolph Tan2015-06-121-1/+60
|
* SERVER-18596 Implement lock expiration takeover for replSets distlock managerRandolph Tan2015-06-111-9/+134
|
* SERVER-18525 Implement background ping and unlock for replSets distlock managerRandolph Tan2015-06-081-16/+80
|