0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +01:00
Commit Graph

693 Commits

Author SHA1 Message Date
Eliot Horowitz
8d009017c9 onDestry hook for connection pool 2011-05-19 14:23:06 -04:00
Eliot Horowitz
fa07a30464 timeout connections idle for 30 minutes 2011-05-17 14:23:18 -04:00
dwight
f3cfb889da check we are in writelock on optime::now. also tune it a bit 2011-05-14 20:16:24 -04:00
dwight
52b09fbdd9 make comments doxygen friendly 2011-05-14 14:05:59 -04:00
gregs
9077e45482 triple check that an update actually went through for a dist unlock - sort1.js transient issue 2011-05-12 17:27:51 -04:00
Eliot Horowitz
225227e8e2 fix deadlock 2011-05-12 16:57:28 -04:00
Eliot Horowitz
5d22fbae02 fix race condition when adding hosts to the list of relica set nodes 2011-05-12 15:44:33 -04:00
gregs
3c14eb6ee7 fix logging message 2011-05-12 15:26:39 -04:00
gregs
0017f70d11 don't shadow return value for maybePrimary 2011-05-12 15:25:30 -04:00
gregs
9850500a4e fix failing test - need to make dist lock thread-safe SERVER-3058 2011-05-12 10:30:05 -04:00
gregs
fcbcbdac95 don't remember pings on errors or successful dist_locking SERVER-3039 2011-05-12 10:30:05 -04:00
gregs
d24f128075 don't copy string 2011-05-12 10:30:05 -04:00
Dwight
1e83899c06 Merge branch 'master' of github.com:mongodb/mongo 2011-05-11 13:55:47 -04:00
Dwight
bb1ccfa6f3 remove WIN32 define from vcxprojs 2011-05-11 13:55:41 -04:00
Eliot Horowitz
d6384470eb fix multi-shard writeback contention
Conflicts:

	s/writeback_listener.cpp
2011-05-11 13:30:12 -04:00
Dwight
063c8c926b test drive StackBufBuilder. can use more later 2011-05-10 15:52:20 -04:00
gregs
6075760ada remove legacy logic, refactor to consts SERVER-3047 2011-05-10 10:34:18 -04:00
gregs
2c49df4752 always require double-check before forcing locks - sync6 fix 2011-05-08 12:47:52 -04:00
gregs
d50efdcbd8 fix for legacy dlock test failure sync5.js 2011-05-05 10:15:34 -04:00
Eliot Horowitz
13eb4fc7ad fix connPoolStats race condition SERVER-3043 2011-05-05 08:38:14 -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
Dwight
a3cd52048a Merge branch 'master' into main
Conflicts:
	SConstruct
	db/btree.h
	db/db.vcxproj.filters
	db/dbcommands_admin.cpp
	db/geo/2d.cpp
	db/pdfile.cpp
	dbtests/test.vcxproj.filters
2011-05-03 15:53:27 -04:00
Eliot Horowitz
77f533612c test for SERVER-3014 2011-04-28 13:15:57 -04:00
Eliot Horowitz
6cdeee14b9 nicer assert for unopened connection 2011-04-28 12:02:52 -04:00
gregs
2b922d9097 deterministic slaveok failover 2011-04-27 17:54:49 -04:00
Eliot Horowitz
2a4fc317fc a little more aggressive trying slaves 2011-04-27 00:00:32 -04:00
gregs
627048913d log output fix and slightly more verbose slave failover 2011-04-26 16:33:31 -04:00
dwight
ac1f4dfe9a function must return a value error/warning 2011-04-22 21:43:02 -04:00
Eliot Horowitz
4106745747 parallelize ParallelSortClusteredCursor using callLazy SERVER-2014 2011-04-21 14:57:44 -04:00
Eliot Horowitz
f939069509 DBClientBase::callLazy - does the send part, and doesn't wait for response
you have to call recv later
2011-04-21 14:57:44 -04:00
Eliot Horowitz
11bb6c6cae shutdown safety 2011-04-21 14:57:44 -04:00
Eliot Horowitz
5f6e63338f cleaner with LOG 2011-04-21 14:57:44 -04:00
Eliot Horowitz
40b607d051 some cleaning on parallel cursor 2011-04-21 14:57:44 -04:00
Eliot Horowitz
516600ebbd ok() method on ScopedConnection to know if you actually have one or if done has been called 2011-04-21 14:57:44 -04:00
dwight
3126e58f01 comments etc 2011-04-14 21:22:33 -04:00
dwight
66eddbed7a slightly better demo 2011-04-14 21:22:24 -04:00
Eliot Horowitz
c4b09ea4d2 fix linking of exitCleanly 2011-04-05 02:37:18 -04:00
Mathias Stearn
ec093cc5ac C++ driver now supports 1.8 M/R options SERVER-2893 2011-04-04 19:19:48 -04:00
gregs
301376410c conversion of unneeded caused_by macros to methods 2011-04-01 09:45:10 -04:00
Mathias Stearn
fe6664136c windows 64 compile 2011-03-30 16:29:09 -04:00
Eliot Horowitz
1707fa2a7e fix callback for not master errors on replica set connections and make background thread more reliable SERVER-2868 2011-03-30 13:52:51 -04:00
Eliot Horowitz
daceb099cf safer not master check 2011-03-30 13:49:19 -04:00
Eliot Horowitz
4e05ef32a1 changed failed to _failed 2011-03-30 12:16:06 -04:00
Eliot Horowitz
8ba84aacf7 better test/example 2011-03-30 11:13:05 -04:00
Dwight
b9e79c918e vstudio 2011-03-28 16:10:43 -04:00
dwight
c663d7922b add background option to create index in the cpp client 2011-03-27 13:21:08 -04:00
dwight
6620177e03 elim variable not used warning in visual c++ 2011-03-23 16:34:40 -04:00
gregs
fb4482b1bf moved comment to appropriate position 2011-03-23 12:47:05 -04:00
gregs
fbef3e1b63 fix for distlock (fixes sync5, sync6 failures)
unlocking can unsafely unset new locks if set during unlock process, this patch ensures new locks are not able to be forced -after- checking individual lock documents
2011-03-22 22:28:04 -04:00
Greg Studer
cd625649f2 show lock error message 2011-03-20 22:58:15 -07:00