Eliot Horowitz
040c6ce475
hit config server only once when loading a chunk meta data certain version SERVER-4396
2011-11-30 13:33:37 -05:00
dwight
4bf4bcf0b4
dynhost work
2011-10-28 09:33:24 -04:00
Eliot Horowitz
5f7feee66c
SERVER-3842 - make all initial chunks before marking collection sharded
2011-10-22 11:54:32 -04:00
Brandon Diamond
a2d39ce4db
Tabs converted to spaces.
2011-10-13 14:46:00 -04:00
Brandon Diamond
40abbe9654
SERVER-3561: validation to avoid chunksize 0
2011-10-05 12:04:45 -04:00
gregs
38fe35874d
auto-reload chunk manager to check version not reset after third staleconfig SERVER-3889
2011-09-29 14:48:17 -04:00
Kristina
209689f230
don't create a new db to test auth
2011-08-18 14:50:27 -04:00
Kristina
93ce4de477
do not start mongos without checking auth SERVER-3587
2011-08-18 11:25:58 -04:00
gregs
709c5f2628
typo
2011-08-09 02:16:54 -04:00
gregs
e8f069d8a2
error codes
2011-08-09 02:16:54 -04:00
gregs
4d3fdcfc10
fix semantics of the getChunkManager() method, add non-erroring version SERVER-3517
2011-08-09 02:16:54 -04:00
gregs
1436fe4595
reload full db when dropping collection - SERVER-3517
2011-08-09 02:16:54 -04:00
Mathias Stearn
0e20be567e
use LOG(x) everywhere in mongos
2011-08-08 19:52:56 -04:00
Mathias Stearn
60b85175fe
Check dbhash on config servers once a minute and report failures SERVER-3323
2011-08-08 12:44:52 -04:00
gregs
af93c5d877
escaping for regex - SERVER-3471
2011-07-28 14:25:27 -04:00
Eliot Horowitz
224dc66eb9
correct reloading on stale config request optimization
2011-07-01 10:07:52 -04:00
Eliot Horowitz
8b8bc2506c
new collection state check cleaning
2011-06-29 10:56:00 -04:00
Eliot Horowitz
a5abf45dfe
don't reload entire databae config on a bad config, just the collection
2011-06-29 10:49:30 -04:00
Eliot Horowitz
f444ceb0ca
more checking to not reload ChunkManager so much
2011-06-29 01:08:32 -04:00
Eliot Horowitz
2aa64fb929
less thrashing when config changes
2011-06-29 00:49:30 -04:00
Eliot Horowitz
142a86b237
net cleaning: move message.* to net/
...
net cleaning: move http tools to net/
2011-06-26 17:13:54 -04:00
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