Commit Graph

505 Commits

Author SHA1 Message Date
Kristina
7bf3c53a70 don't allow changing from localhost to hostname SERVER-2622 2011-02-28 12:57:58 -05:00
Kristina
277ff8dbf0 try switching to the primary between sync batches 2011-02-15 12:50:51 -05:00
Dwight
8ed7eabacb rs dont sync from slaveDelayd members 2011-02-14 16:21:04 -05:00
Kristina
ed360a84f9 eliminate two-primary edge case SERVER-2544 2011-02-13 18:08:12 -05:00
Kristina
6d04d3a7c8 skip heartbeat check on self SERVER-2483 2011-02-08 16:53:48 -05:00
Kristina
cfd9c0e758 fix initialSync on reconfig SERVER-2484 2011-02-05 23:18:23 -05:00
Aaron
c61ac1e2fd comment 2011-01-31 15:58:55 -08:00
Kristina
baa76f1890 use defaults for rs contexts 2011-01-19 16:41:57 -05:00
Kristina
de17e47850 Revert "allow rollbacks when authenticated"
This reverts commit 6db38bc79c.
2011-01-19 16:39:43 -05:00
Kristina
6db38bc79c allow rollbacks when authenticated 2011-01-19 15:37:22 -05:00
Kristina
1e32f52162 rs status uses config's hostname SERVER-2361 2011-01-14 16:41:53 -05:00
Kristina
6bf551e90f allow duplicate key exceptions in initial sync SERVER-2219 2011-01-13 13:31:01 -05:00
Alberto Lerner
3907c971ee SERVER-2248 a demoted primary server now resets its sharding state 2011-01-10 05:38:52 -08:00
Eliot Horowitz
b828d21630 ran astyle SERVER-2304 2011-01-04 00:40:41 -05:00
Eliot Horowitz
3105070460 more Client cleaning 2011-01-03 13:16:13 -05:00
Kristina
a6fba448b2 allow initial sync when primary is down 2010-12-27 18:53:11 -05:00
Eliot Horowitz
439881c429 when shell calls replGetStatus don't reset last error 2010-12-27 16:20:11 -05:00
Kristina
fbf7b90a1e rs auth 2010-12-27 16:07:33 -05:00
Kristina
569b3b0199 allow stale members to sync from non-primary 2010-12-23 13:51:46 -05:00
Kristina
52a46867c7 sync against secondaries if primary is unavailable SERVER-2158 2010-12-22 18:43:08 -05:00
dwight
a1c70486b9 replset more members allowed if nonvoting 2010-12-22 17:48:54 -05:00
Kristina
abedfa9c91 add passive field to isMaster SERVER-2220 2010-12-20 18:14:28 -05:00
Aaron
0b97deb527 SERVER-2184 clarify usage of mongo mutex 2010-12-08 00:32:56 -08:00
Kristina
1daf6ca709 update rs timeout on each reconfig SERVER-2045 2010-12-07 10:26:13 -05:00
Kristina
be87ea36e9 show host when attempting initial hb 2010-12-06 17:12:40 -05:00
dwight
6c3eb1ddd4 dur remap 2010-11-27 15:25:08 -05:00
dwight
8d368e768d rs clearer error msg 2010-11-22 10:38:37 -05:00
dwight
8b4deb5e8f better err msg and vcxproj updated for new cpp file 2010-11-19 11:05:29 -05:00
Kristina Chodorow
53f4dce289 honor rs config timeout SERVER-2045 2010-11-18 15:17:32 -05:00
Kristina Chodorow
0ea9f6dd85 compile warning 2010-11-17 18:46:40 -05:00
Kristina Chodorow
8a0def48bb shutdown server when removed from replica set SERVER-1871 2010-11-17 18:44:32 -05:00
Kristina Chodorow
05218bfa27 lots of options for initial sync SERVER-1829 2010-11-17 18:30:24 -05:00
dwight
cdbdd562f2 typo rs 2010-11-17 10:30:22 -05:00
dwight
e39c0ca392 rs comment 2010-11-16 23:18:32 -05:00
dwight
dc5673fd76 rs fix a race condition type bug at mongod startup with electSelf 165 2010-11-16 23:15:50 -05:00
Dwight
87be2c5e2a rs log 2010-11-16 14:19:23 -05:00
dwight
dc0aff562c make it less easy to confuse the log line with ourself when we were reporting on someone else 2010-11-12 20:53:25 -05:00
dwight
8c11db1487 rs clearer 2010-11-12 16:09:14 -05:00
Kristina Chodorow
1d7b115d8e fix buildIndexes check 2010-11-11 15:38:14 -05:00
Kristina Chodorow
3e6e773ee4 fix rs tests 2010-11-10 12:09:30 -05:00
Kristina Chodorow
2683812ba8 allow initial sync from secondaries SERVER-1829 2010-11-09 17:29:27 -05:00
dwight
c7fa677e12 rs better error msgs and cleaning 2010-11-07 15:02:48 -05:00
dwight
623dfec394 clearer msg 2010-11-07 14:49:20 -05:00
dwight
38e29744b8 rs was not showing optime in replSetGetStatus for self. 2010-11-06 10:28:43 -04:00
Kristina Chodorow
b089cc3d98 make --fastsync work with replica sets 2010-11-02 18:47:04 -04:00
Dwight
4c2cbc74a8 compile? rs 2010-11-02 14:46:58 -04:00
Dwight
7828104e0f Merge branch 'master' of github.com:mongodb/mongo 2010-11-02 12:12:44 -04:00
Dwight
3aee3633a8 rs tag beginnings 2010-11-02 12:12:29 -04:00
Kristina Chodorow
fa9f51da85 more info on what went wrong w/hb error 2010-11-01 16:19:51 -04:00
dwight
279d33bee6 dbclient: once a connection in failed state be sure not to use it. this is a fairly big change in a way because it now throws mroe often. affects replica sets. 2010-10-31 19:12:12 -04:00