Commit Graph

627 Commits

Author SHA1 Message Date
dwight
bc81e2ac0c compile warning on windows eliminate 2011-03-01 20:35:49 -05:00
greg
e82ae13ca0 Cannot use boost::thread::id for legacy 2011-03-01 17:02:06 -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
gregstuder
bac77a4989 Making lock messages less verbose. 2011-03-01 11:56:46 -08: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
7b12d39001 typo 2011-02-27 09:25:05 -05:00
dwight
df7c3b2353 make simpleclientdemo a little better 2011-02-24 16:42:09 -05:00
dwight
4c4093adbe add simple_client_demo.vcxproj 2011-02-24 14:39:18 -05:00
dwight
9c5dd4adb5 fix mongo_client_lib.cpp 2011-02-24 13:43:50 -05:00
Eliot Horowitz
b2ad6e7657 better sync cluster update diagnostics 2011-02-18 01:56:48 -05:00
Eliot Horowitz
8d4850ae65 detect clock skew in DistributedLock SERVER-2584 2011-02-17 19:59:33 -05:00
Eliot Horowitz
cf275ec820 warning if we hit a bizarre case 2011-02-16 17:23:16 -05:00
Eliot Horowitz
5909aa6962 more verbose lock pinging logic 2011-02-14 16:21:36 -05:00
Eliot Horowitz
4c9f3922d3 increase lock takeover time to 15 minutes (from 10) 2011-02-14 16:21:36 -05:00
Eliot Horowitz
ac86cdec47 better distlock test 2011-02-14 16:21:36 -05:00
Eliot Horowitz
36f405d6a7 Merge branch 'master' of github.com:mongodb/mongo 2011-02-14 14:13:27 -05:00
Eliot Horowitz
a969a0168c add ConnectionString and add a test 2011-02-14 14:13:19 -05:00
Eliot Horowitz
6dee6f9498 better test 2011-02-14 12:39:53 -05:00
Eliot Horowitz
763c49f692 fix startup race condition 2011-02-13 23:29:11 -05:00
Eliot Horowitz
7e5a60ba66 protect ReplicaSet watcher with a lock 2011-02-13 19:13:21 -05:00
Eliot Horowitz
7a4399841f more background job debugging 2011-02-13 16:04:06 -05:00
Eliot Horowitz
f31d82cad9 some better debugging and an assert 2011-02-13 10:07:13 -05:00
Eliot Horowitz
b1a9d70ed7 safety check for SERVER-2539 2011-02-12 14:54:14 -05:00
Eliot Horowitz
8b0bbc584e compile 2011-02-12 14:54:07 -05:00
Eliot Horowitz
f4f7ceccf8 some public accessors 2011-02-12 14:48:20 -05:00
Eliot Horowitz
37b11e4dde fix replica set cursor cleaning through mongos SERVER-2505
fix cursor cleaning in mongos generally by not doing lazy cleaning
2011-02-09 23:03:03 -05:00
Eliot Horowitz
3c31195939 better error messsage 2011-02-09 00:56:21 -05:00
Eliot Horowitz
1ef1e7f2b8 less chatty ReplicaSetMonitor for c++ client SERVER-2490 2011-02-07 16:42:35 -05:00
Eliot Horowitz
c3125e1877 DBClientReplicaSet::killCursor should never be called SERVER-2479 2011-02-05 17:56:14 -05:00
Eliot Horowitz
471fd7da06 added option paral to call to specify server address where was sent if different 2011-02-05 17:52:36 -05:00
Eliot Horowitz
f3c16066c6 better debug message 2011-02-05 17:52:36 -05:00
Eliot Horowitz
5287de64fb fix SlaveOk getMore with replica sets for sharded collections SERVER-2482 2011-02-05 17:52:36 -05:00
Eliot Horowitz
1227dfe359 fix concurrency issues with DBClientReplicaSet SERVER-2466 2011-02-02 10:47:02 -05:00
Eliot Horowitz
ee7f6dd929 comment 2011-02-01 01:11:32 -05:00
Kristina
8867e60e88 more aggressive about checking for slave errors SERVER-2439 2011-01-31 11:34:47 -05:00
Eliot Horowitz
fd204c99b3 DBDirectClient uses smart count rather than going over message api 2011-01-25 16:19:21 -05:00
Eliot Horowitz
43d4d1306f ability to get partial results from a sharded find SERVER-2020 2011-01-25 02:02:38 -05:00
Eliot Horowitz
fd36dc975e better exception 2011-01-25 02:02:37 -05:00
Eliot Horowitz
9c1381ece0 ReplicaSetMonitorWatcher needs to run all the time SERVER-2399 2011-01-24 10:03:23 -05:00
Eliot Horowitz
4f5b880157 ability to select Connection to use for Future 2011-01-23 02:53:31 -05:00
Eliot Horowitz
0def9a77be better SyncClusterConnection error reporting 2011-01-21 15:48:56 -05:00
Kristina
f0eb24f224 rs throws out master on connection exception SERVER-2377 2011-01-21 13:57:35 -05:00
Kristina
a756cf2375 make c++ client check that rs master is ok before returning it SERVER-2377 2011-01-20 19:35:12 -05:00
dwight
f8754e701e more diagnostic info for test case 2011-01-19 22:19:48 -05:00
Mathias Stearn
371e0b3b57 more windows fixes 2011-01-18 19:55:11 -05:00
Mathias Stearn
d4c9571a5a Fix windows build by using consistent map type 2011-01-18 19:43:55 -05:00
Eliot Horowitz
33d8cd8302 handle sharded+rs get last error when replica set config may change during op 2011-01-18 13:49:19 -05:00
Mathias Stearn
d56aef4fa6 SyncClusterConnection support for --dur 2011-01-14 17:33:20 -05:00