Commit Graph

17 Commits

Author SHA1 Message Date
gregs
cc43fc3e4a change command api to allow command options SERVER-3405 2011-07-27 15:59:27 -04:00
gregs
6075760ada remove legacy logic, refactor to consts SERVER-3047 2011-05-10 10:34:18 -04:00
gregs
d50efdcbd8 fix for legacy dlock test failure sync5.js 2011-05-05 10:15:34 -04:00
gregs
ad01e102a8 Re-entrant distributed locks with ping unlock retries -- SERVER-3024
Retries unlock when process is still up but config server has gone down,
in case of errors during locking and unlocking.  Also allows testing
of locks already held.
2011-05-04 17:22:00 -04:00
gregs
301376410c conversion of unneeded caused_by macros to methods 2011-04-01 09:45:10 -04:00
gregs
2b04fcbfd8 more informative dist lock logging 2011-03-17 10:44:59 -04:00
Mathias Stearn
2b58bd8904 Changes to source needed to compile cleanly with clang++ 2011-03-16 17:25:53 -04:00
greg
11f3e9ddf1 Fix for distlock test - old version of boost::random on MSVC 2011-03-02 11:57:58 -05:00
greg
df9b6cef28 Cross platform RNG 2011-03-01 16:06:06 -05:00
gregstuder
1150cd0cd3 Misspelling 2011-03-01 12:28:54 -08:00
Dwight
e932625ade compile 2011-03-01 15:09:44 -05:00
greg
737a20b8fa Fixes for distributed lock handling time skew.
In general, the current distributed lock is susceptible to time skew in config servers and mongos clients.  This update
uses an algorithm that checks for time skew, as well as providing some more robust tests to make sure a distributed
lock cannot be forced prematurely.  Some documentation on the website, currently hidden from non-10gen, gives more
info.
2011-03-01 14:15:26 -05:00
Eliot Horowitz
ac86cdec47 better distlock test 2011-02-14 16:21:36 -05:00
Eliot Horowitz
6dee6f9498 better test 2011-02-14 12:39:53 -05:00
Eliot Horowitz
b828d21630 ran astyle SERVER-2304 2011-01-04 00:40:41 -05:00
Eliot Horowitz
507ae132d0 distlock cleaning 2010-07-12 17:53:02 -04:00
Eliot Horowitz
5d563d97fe new file 2010-07-12 17:50:26 -04:00