Commit Graph

129 Commits

Author SHA1 Message Date
gregs
fe4587a317 Add timeout to config server SERVER-3220 2011-06-14 09:34:22 -04:00
gregs
a2714c023c don't re-save database after dropped already - real fix for SERVER-2253 2011-06-13 20:15:32 -04:00
Eliot Horowitz
a2ddbd3946 fix merge error 2011-06-06 15:44:23 -04:00
Eliot Horowitz
0d7aa757ed a little cleaner 2011-06-06 15:39:47 -04:00
Eliot Horowitz
99992e780d better locking on DBConfig 2011-06-06 15:39:27 -04:00
Eliot Horowitz
5ae6c18fcd don't always mark sharding data as dirty 2011-06-06 12:01:35 -04:00
Mathias Stearn
50a0115bd2 ChunkManager::createFirstChunk shouldn't modify this 2011-05-06 19:01:03 -04:00
Mathias Stearn
be124009c2 Don't call into ChunkMangager while holding the DBConfig lock 2011-05-06 13:36:24 -04:00
Mathias Stearn
3b63bf927a This needs to be done in a lock 2011-05-04 15:41:43 -04:00
dwight
87ab46c3a4 detect if we misconfigure and try to connect to a mongos as if it were a config server.
this wasn't being caught on the single cofnig server case.  now detected but message
is rather cryptic:

caught exception in mongos main:
13106 nextSafe(): { $err: "unrecognized command: dbhash", code: 13390 }
2011-04-25 19:17:45 -04:00
Eliot Horowitz
40c3772b11 fast fail when config servers aren't all up 2011-03-10 13:59:27 -05:00
Eliot Horowitz
3f1c76f47a cleanup replica set handling 2011-02-14 14:16:18 -05:00
Eliot Horowitz
e6a68871ec assert that you can't shard config db 2011-02-13 10:08:37 -05:00
Eliot Horowitz
f95847b3cf clean error mongos startup error handling when some config servers down SERVER-1936 2011-01-25 02:23:31 -05:00
agirbal
2560f2c291 [SERVER-1992]: check if currentClient is 0, which can happen in mongos 2011-01-11 13:07:12 -08:00
Eliot Horowitz
b828d21630 ran astyle SERVER-2304 2011-01-04 00:40:41 -05:00
Alberto Lerner
e87ba2fefa SERVER-2253 check outcome of config change 2010-12-20 16:29:03 -05:00
Eliot Horowitz
bdc22dc854 some replica set client cleaning 2010-12-20 14:17:44 -05:00
Dwight
4f61307a92 elim warning on widnows 2010-12-20 13:33:39 -05:00
Eliot Horowitz
b4ba7fab49 update config servers when replica set config changes SERVER-1557 2010-12-20 01:28:20 -05:00
Alberto Lerner
34613b0bde make finding a stuck/slow migrate a bit easier 2010-12-18 18:38:43 -05:00
agirbal
24cf03c654 [SERVER-1992]: Log remote requestor for splits and migrates 2010-12-16 16:18:22 -08:00
Alberto Lerner
78c6e21862 Chunk/ChunkManager do not depend on ConfigDB anymore 2010-11-02 13:54:01 -04:00
Alberto Lerner
c30a1b9a8f clean old migrate code 2010-10-30 14:21:35 -04:00
Alberto Lerner
26a7046b24 SERVER-1974 logChange won't throw 2010-10-20 17:06:25 -04:00
Alberto Lerner
c88c149eb9 expose first-chunk-creation logic and call it at 'shardcollection' command 2010-10-15 13:46:44 -04:00
Alberto Lerner
9e8f16ebc0 SERVER-1691 reorder ops to handle possible throw nicely 2010-09-30 09:13:07 -04:00
Alberto Lerner
e8f0119c55 SERVER-1849 allow recreating a recently dropped collection 2010-09-25 07:21:25 -04:00
Alberto Lerner
a3986b4040 SERVER-1713 move testing code to proper place and adhere to dbtest coding practices 2010-09-21 09:53:34 -04:00
Alberto Lerner
684f67d21f move getLastError closer to actual op 2010-09-17 12:18:50 -04:00
Eliot Horowitz
79387b7ac8 call getLastError after each collection meta data change 2010-09-17 11:55:51 -04:00
Alberto Lerner
16ce34f241 Bug fix: logChange() does't throw (can be called from destructors 2010-08-16 11:09:03 -04:00
Eliot Horowitz
9078eba70f actually use checkConsistency variable 2010-08-03 17:38:16 -04:00
Dwight
8a05c6d4e2 warning 2010-08-03 09:29:08 -04:00
Eliot Horowitz
dde3464141 check for config server consistency on startup 2010-08-03 01:18:12 -04:00
Dwight
08eaec0599 check for null return from query() 2010-08-02 14:44:53 -04:00
Alberto Lerner
bceacf2544 SERVER-1292 A bit more prep, separate grid.{h,cpp} from config 2010-07-28 14:24:55 -04:00
Alberto Lerner
bc3f63ebf1 SERVER-1497 Cant mix and match localhost and real IPs 2010-07-28 11:14:26 -04:00
Alberto Lerner
df83eb6beb Assert the true condition 2010-07-28 08:23:25 -04:00
Alberto Lerner
e53107eeeb SERVER-1292 Prep work by moving shard adding logic to Grid 2010-07-26 16:13:36 -04:00
Mathias Stearn
dd79445bbb make more commands work with mongos SERVER-1462 2010-07-22 21:03:24 -04:00
Eliot Horowitz
380cdd5bf2 handle databases with different cases in mongos SERVER-1443 2010-07-22 15:39:20 -04:00
Alberto Lerner
a976d6ed88 SERVER-1280 Bring back the stop balancer marker 2010-07-21 19:56:18 -04:00
Alberto Lerner
7bda6170b8 Merge branch 'master' of github.com:mongodb/mongo 2010-07-21 16:33:04 -04:00
Alberto Lerner
db947047b0 SERVER-1418 Shard names now use padding zeroes 2010-07-21 16:31:51 -04:00
Eliot Horowitz
1f96a00d0b break collections out of database object for sharding into own collection SERVER-1427 2010-07-21 16:25:53 -04:00
Eliot Horowitz
092ab485ea moving all saving logic into DBConfig SERVER-1427 2010-07-21 14:47:32 -04:00
Eliot Horowitz
03b70c6883 not using Model for DBConfig - first step in SERVER-1427 2010-07-21 12:17:38 -04:00
Alberto Lerner
4b2de232c9 SERVER-1270 Elim c_str() /s 2010-07-20 12:57:47 -04:00
Eliot Horowitz
e7405c154f make sure configServer is set 2010-07-19 21:23:00 -04:00