Commit Graph

711 Commits

Author SHA1 Message Date
Kristina
f727f3b6fe Initialize auth status in non-default hb ctor 2011-10-07 20:52:20 -04:00
Spencer T Brody
0bb6c4774a Use boost's string trim function rather than having our own. 2011-10-06 18:09:32 -04:00
Kristina
9ee9036911 Log when a member can't elect themselves 2011-10-06 16:36:59 -04:00
Kristina
280b4857f6 Windows 32 compile 2011-10-06 14:59:21 -04:00
Scott Hernandez
ca9770abb5 SERVER-3299 trim hostname on replica set reconfig 2011-10-05 18:34:13 -04:00
Kristina
d21c163de2 Make secondaries go into recovering state when auth is wrong SERVER-3715 2011-10-05 16:56:06 -04:00
Kristina
203f41d92d ScopedConn reconnection 2011-10-05 16:56:06 -04:00
Kristina
13a291156d added message identifying replica set hostname in log on startup 2011-10-05 14:19:28 -04:00
Dwight
ae30374ed8 Merge branch 'master' of github.com:mongodb/mongo
Conflicts:
	db/btree.cpp
	db/db.vcxproj
	dbtests/test.vcxproj
	server.h
	util/concurrency/rwlock.h
	util/concurrency/value.h
2011-10-03 13:43:34 -04:00
Kristina
97f9755a60 allow initial sync source to change 2011-09-30 11:25:41 -04:00
dwight
f5b5fb5993 compiler warning ambiguous else 2011-09-28 09:03:44 -04:00
dwight
a0288e57f0 clearer logging 2011-09-22 22:44:06 -04:00
dwight
00ebd4c1f9 on a missing object, thats ok as a delete may occur later 2011-09-22 22:34:54 -04:00
Kristina
295dd22215 move start time to cmdline SERVER-3696 2011-09-22 14:27:24 -04:00
Kristina
62f34935f7 command to get into/out of maintenance mode SERVER-3923
Not that 3923 could ever happen again, but if it did...
2011-09-22 13:11:07 -04:00
Kristina
ba9a7c9c85 Merge branch 'maintenance'
Conflicts:
	db/repl/health.cpp
2011-09-22 12:52:25 -04:00
dwight
343b502f44 normalize log strings slightly 2011-09-21 19:37:15 -04:00
Kristina
e9c2884d35 retry initial syncing oplog until we run out of targets SERVER-3183 2011-09-21 17:40:50 -04:00
Kristina
a398ef5dcd more flexibility on source choice for initial sync SERVER-3183 2011-09-21 15:06:27 -04:00
Dwight
7399d406b1 indicate in shell prompt when connected to a configsvr. 2011-09-20 16:05:45 -04:00
Kristina
cfca5a3037 check tags in member config equality func SERVER-3799 2011-09-20 14:51:45 -04:00
dwight
5857346b9b continuation of initial sync fix 2011-09-19 21:38:45 -04:00
Kristina
1f4be0a35c stop initial sync once minvalid is reached SERVER-3899 2011-09-19 13:06:04 -04:00
dwight
fa6ebc65be fix a possible issue with initial sync with replication when updates are in flight.
also correct UpdateResult in one case
2011-09-18 17:23:28 -04:00
dwight
e00aa7eb32 cleaning minor 2011-09-18 15:35:46 -04:00
dwight
4fd059498f an assert and comments 2011-09-18 12:52:09 -04:00
Kristina
118d9ed858 show conflicting replica set names in error message SERVER-3525 2011-09-16 13:31:34 -04:00
Kristina
86ce04ba50 only show optime info for non-arbiters SERVER-2872 2011-09-16 13:28:20 -04:00
Kristina
5d714b1bee check for tags on arbiter whenever a config is parsed SERVER-3840 2011-09-16 10:51:06 -04:00
Kristina
2b8753551a handle invalid host in reconfig SERVER-3798 2011-09-14 15:31:26 -04:00
Kristina
7c46fb9ad3 allow majority to be all nodes SERVER-3672 2011-09-14 15:31:26 -04:00
dwight
e78bc26396 timer class was slow on windows; fixed. 2011-09-12 23:32:19 -04:00
Kristina
3c7cb7922e only show "syncingTo" field if member is not primary SERVER-3616 2011-09-12 16:00:55 -04:00
Kristina
1d75a4793a reconfig should handle error messages from other members 2011-09-07 13:02:50 -04:00
Mathias Stearn
6362013e41 Queries for rollback objects need SlaveOk bit SERVER-3650 2011-09-06 23:46:18 -04:00
Kristina
6b61f6a212 change log to warning SERVER-3712 2011-08-30 11:18:45 -04:00
Dwight
623010e04b Merge branch 'master' of github.com:mongodb/mongo
Conflicts:
	db/db.vcxproj
	dbtests/test.vcxproj
2011-08-29 15:43:13 -04:00
Kristina
51a05ba7a3 add tags field to isMaster 2011-08-19 13:59:40 -04:00
Mathias Stearn
9fd1a048ec fix error string spacing 2011-08-19 12:08:07 -04:00
Kristina
76f4adcc5f update tagging comments' syntax 2011-08-18 13:54:09 -04:00
Kristina
20f2d1669f less logging 2011-08-18 13:47:58 -04:00
Kristina
6a34e4c98f make bad stored configs easy to recover from SERVER-3646 2011-08-18 13:47:57 -04:00
Kristina
57b9824bfa fix sync target race SERVER-3640 2011-08-18 11:41:05 -04:00
Dwight
48977d2abc merge 2011-08-17 16:55:13 -04:00
Kristina
bec867911e change tagging format to {x:y} 2011-08-16 13:50:10 -04:00
Kristina
1014eba2d3 fix tagging on reconfig SERVER-3599 2011-08-16 11:53:09 -04:00
Kristina
891b621617 put maintenance mode in replsetgetstatus 2011-08-10 10:49:27 -04:00
Mathias Stearn
50d396b3f4 Handle clock skew in replsets to ensure OpTimes always increase SERVER-3132 2011-08-04 16:13:47 -04:00
dwight
63c87fe20c use LOG() more 2011-08-02 02:36:46 -04:00
Kristina
d7dd936cb3 lock on setting AND getting rs state to prevent sporadic test failure 2011-07-29 15:08:18 -04:00