gregs
ffa338a9df
SERVER-3565 don't get _id from shard key, get from doc
2011-10-13 15:24:29 -04:00
dwight
310e250fd3
cleaning. we want to use pch.h as little as possible (zero eventually)
...
this a small step that way
2011-10-02 13:38:29 -04:00
Mathias Stearn
0e20be567e
use LOG(x) everywhere in mongos
2011-08-08 19:52:56 -04:00
gregs
6bf06f445e
don't allow multikey shard indices or array values in shard keys
2011-08-04 12:54:16 -04:00
gregs
e5d902202f
full API change to command interface, add options SERVER-3405
2011-07-27 15:59:27 -04:00
Eliot Horowitz
6cd435b005
SERVER-2563 - make ClientCursor check disk location for record in memory if its going to be needed
2011-06-23 15:46:10 -04:00
Eliot Horowitz
61be4fc835
some include cleaning
2011-06-21 01:56:49 -04:00
Jens Rantil
2c8088f180
Fixing a bunch of spelling mistakes, and a few grammatical errors. No functionality has been changed.
2011-05-26 11:59:13 +02:00
dwight
8a0660ac31
use firstElementFieldName()
2011-05-23 20:03:19 -04:00
Mathias Stearn
d24985a99a
Start counting at 1
2011-05-06 13:36:24 -04:00
Mathias Stearn
791717764d
Move chunk obj counting into mongod.
...
Was segfaulting because newChunk->_master could become dangling
2011-05-05 22:52:10 -04:00
Mathias Stearn
032f6fcc64
more const for clarity
2011-05-05 22:52:10 -04:00
Eliot Horowitz
56080a9fa4
can't use scoped_ptr with ClientCursor
2011-05-04 14:09:48 -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
18cad05fea
don't force a check on _id for sharding as it has to be there
...
yield for longer ones SERVER-3004
2011-04-26 17:32:47 -04:00
Dwight
a6cceefeb7
versions for btree. checkpointing so far
2011-04-20 15:45:32 -04:00
gregs
301376410c
conversion of unneeded caused_by macros to methods
2011-04-01 09:45:10 -04:00
Eliot Horowitz
bf7de73165
SERVER-2797 fix BTreeCursor handling and ensure chunks aren't over sized
2011-03-19 15:49:22 -04:00
Eliot Horowitz
a7c5ebf735
make forcing a split work better SERVER-2419 180?
2011-03-06 02:51:18 -05:00
greg
737a20b8fa
Fixes for distributed lock handling time skew.
...
In general, the current distributed lock is susceptible to time skew in config servers and mongos clients. This update
uses an algorithm that checks for time skew, as well as providing some more robust tests to make sure a distributed
lock cannot be forced prematurely. Some documentation on the website, currently hidden from non-10gen, gives more
info.
2011-03-01 14:15:26 -05:00
Eliot Horowitz
e295d14d1d
null is ok in shard key, blank is not SERVER-2648
2011-03-01 13:21:04 -05:00
Eliot Horowitz
a6ad2a1472
make sure not to use memory in a cursor when yielding SERVER-2447
2011-03-01 10:50:39 -05:00
Eliot Horowitz
54175da517
splitVector perf
2011-02-01 18:03:00 -05:00
Eliot Horowitz
ea4585664e
add an assert in splitVector
2011-01-29 02:43:01 -05:00
Eliot Horowitz
1b68b2f53b
fix some split logging
2011-01-29 01:25:24 -05:00
Alberto Lerner
95883498e5
SERVER-2060 allow an index to be validated for sharding
2011-01-10 09:12:34 -08:00
Eliot Horowitz
b828d21630
ran astyle SERVER-2304
2011-01-04 00:40:41 -05:00
Alberto Lerner
0472e3396a
splitChunk entry message to like like moveChunk's
2010-12-29 11:32:18 -05:00
Alberto Lerner
acb40fb684
SERVER-2306 split request now carries expected shard information
2010-12-29 10:53:02 -05:00
Alberto Lerner
5e5ed8bb03
message warns explicitly that operation aborted
2010-12-28 14:54:29 -05:00
Alberto Lerner
83b6d04f0d
put likely cause on message
2010-12-28 12:53:14 -05:00
Alberto Lerner
84a30c24e9
log if moveChunk/splitChunk did not pass admission checks
2010-12-27 14:30:54 -05:00
Alberto Lerner
1fa6403ef6
make message consistent
2010-12-27 08:54:36 -05:00
Alberto Lerner
b9c944466f
hook new versioning machinery and allow mongod to maintain per-chunk state
2010-12-04 14:49:09 -05:00
Alberto Lerner
c8fd4df699
disambiguate
2010-12-02 13:09:27 -05:00
Alberto Lerner
b08dcf6e6d
fix potential seg fault
2010-11-23 09:25:24 -05:00
Alberto Lerner
ab7fa6504c
log command start
2010-11-22 08:28:38 -05:00
Alberto Lerner
f9d7cdab63
ChunkMatcher now has per-chunk boundaries
2010-11-18 17:59:20 -05:00
Alberto Lerner
910044f28a
splits are now done by the mongod side
2010-10-27 17:13:47 -04:00
Alberto Lerner
ba7cfbbd8c
fix memory ownership
2010-10-26 18:24:55 -04:00
Alberto Lerner
7e074d00e4
split chunk maybe the first time a sharded command hit mongod
2010-10-25 15:38:22 -04:00
Alberto Lerner
3a8d363fd4
tighter new splitChunk (misses factoring out common code to migrate path)
2010-10-22 19:15:48 -04:00
Alberto Lerner
4f1a41872f
add logging to splitChunk command in mongod
2010-10-22 16:44:37 -04:00
Alberto Lerner
9266002d96
splitVector can now be 'force'-d to split a small chunk
2010-10-21 14:11:48 -04:00
Alberto Lerner
1e450f7b00
do not pick a split key if it is not different from the chunks' min key (on behalf of Matt Taylor)
2010-10-19 13:12:28 -04:00
Alberto Lerner
41f97ca850
Initial mongod-side split logic. Not yet hooked up.
2010-10-18 15:44:56 -04:00
Alberto Lerner
2ad85ece41
Prepare initial move of split logic to the mongod side
2010-10-14 20:35:24 -04:00
dwight
c1b68a13de
towards durability
2010-09-27 12:35:22 -04:00
Alberto Lerner
f5d055953c
SERVER-1807 better logging and tighter test
2010-09-17 17:02:28 -04:00
Alberto Lerner
d55c4af161
SERVER-1807 quicker auto-split if in a jumbo chunk case
2010-09-16 18:21:59 -04:00