Commit Graph

51 Commits

Author SHA1 Message Date
dwight
613bb7ba4a two step key addition to indexes 2011-09-12 23:22:10 -04:00
Dwight
4a790c6ae4 set keysize in v1 to 1KB 2011-07-05 16:12:11 -04:00
dwight
3f169b963e temporarily disable btree1 test for new maxkeysize 2011-07-01 13:29:37 -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
dwight
c335ebcd0f work on new index version. dbtests stuff 2011-04-22 22:04:51 -04:00
Dwight
ede44430d1 compact index keys fix encoding for traditional encoding of complex ones 2011-04-20 12:07:08 -04:00
Dwight
4f2f00bba0 indexkey support strings with zeros. more work to do 2011-04-19 13:36:21 -04:00
dwight
7e2c810dc6 indexkey finishing some stuff 2011-04-13 21:58:10 -04:00
Dwight
7c986e6432 indexkey work 2011-04-11 18:21:48 -04:00
Mathias Stearn
0584a5ee57 use 64 bit here since could have >2B keys in index 2011-03-29 20:52:44 -04:00
dwight
b7546b71c7 add a couple commitIfNeeded calls to unit test. probably not important but might be helpful for 32 bit testing stability 2011-01-15 11:01:17 -05:00
Eliot Horowitz
b828d21630 ran astyle SERVER-2304 2011-01-04 00:40:41 -05:00
Mathias Stearn
1c17cece76 Pull some durability code into a class for easy disabling 2010-12-10 19:20:43 -05:00
Aaron
5e90fb163a btree delete internal key 2010-12-08 09:50:15 -08:00
Aaron
05c10db550 btree balance rather than delete bucket 2010-11-23 12:31:30 -08:00
dwight
b8555c9f52 dur optimizations to not journal too much 2010-11-21 19:36:40 -05:00
Aaron
fe9ffe854f fix test 2010-11-20 13:20:23 -08:00
Aaron
cd93cf90c7 compile win 2010-11-18 00:18:07 -08:00
Aaron
1922082d61 fix test 2010-11-17 23:59:28 -08:00
Aaron
65c309a9e5 btree add low water mark test and balancing density of neighboring nodes 2010-11-17 19:20:45 -08:00
Dwight
c5ca01e648 dur 2010-11-04 17:43:02 -04:00
Aaron
edeb5cc71d SERVER-2007 in btree code use const qualifiers to better enforce durability requirements, also attempt to remove memory state dependencies between functions and make remaining dependencies more explicit 2010-11-03 20:25:33 -07:00
Aaron
5963d0e454 some work on btree coalescing 2010-10-26 11:43:33 -07:00
Aaron
015faa0b60 on splitting, balance nodes using aggregate key size rather than number of keys 2010-10-19 10:38:56 -07:00
Dwight
45a7620aac dur work 2010-10-01 16:14:36 -04:00
Dwight
dbd32482a6 durability more work on declaring intent to write in the code 2010-09-28 17:18:36 -04:00
Aaron
ec28a6971b SERVER-366 don't drop referenced key 2010-07-07 22:25:09 -07:00
Aaron
1e934132ad SERVER-366 clean up a bit in pack() 2010-06-28 22:16:07 -07:00
Dwight
bd28578ab8 stdafx->pch 2010-04-27 15:27:52 -04:00
Dwight Merriman
18f3614188 faster! Ordering class 2010-04-20 19:42:53 -04:00
Aaron
c4769e9f86 SERVER-983 split bucket unevenly when inserting at high end 2010-04-08 14:43:30 -07:00
Eliot Horowitz
afa43dc8cd get rid of setClient - all Database storage is in Client::Context 2010-01-29 17:22:34 -05:00
Eliot Horowitz
0ab8149a8e uassert/massert take error code SERVER-112 2009-12-28 16:43:43 -05:00
Dwight
f152047f19 fix assert to use ours and thus make unit test pass 2009-10-15 16:47:35 -04:00
unknown
7153023470 win pre-compild headers 2009-09-30 14:32:17 -04:00
Dwight
6cf3d75d08 btreebuilder work / temp commit 2009-09-24 12:11:55 -04:00
Eliot Horowitz
34e48aaf5d new unit test framework 2009-09-17 17:23:38 -04:00
Aaron
d9129f8cb2 unit tests use same database to reduce disk usage 2009-05-12 15:58:26 -04:00
Aaron
593bf1f126 virtual dtors == good 2009-02-18 13:42:32 -05:00
Dwight
da53450036 fix to properly check for dupkey with unused keys 2009-02-13 12:58:05 -05:00
Dwight
147948c7b3 doneAndDecouple() -> obj() 2009-02-09 13:04:32 -05:00
Aaron
abf7cc678d Update unit tests 2009-02-06 13:26:29 -05:00
Aaron
01e241ae5f Fix unit test compile 2009-01-26 17:33:37 -05:00
Aaron
a3f927ffed Add idempotence tests for some oplog operations 2009-01-23 10:17:29 -05:00
Aaron
90d45238aa Indent all lines within namespaces one level 2009-01-15 10:17:11 -05:00
Aaron
21a13b1336 NEW pdfile # : 4.4; Support compound directions with compound indexes 2009-01-14 13:56:52 -05:00
Aaron
b7cbd30112 Replace tab indentation with spaces 2008-12-28 20:28:49 -05:00
Aaron
7bb4001e9a Change arg ordering for ASSERT_EQUALS to match current unittest library spec (an earlier version of the library used the reverse arg order) 2008-12-11 15:27:51 -05:00
yellow
974db2cac9 remove the first "db.h" which is not only redundant, but seems to be wrong 2008-12-08 14:23:28 -05:00
Aaron
155ac2b7c2 Add arbitration unit test; adjust tab formatting of some files 2008-12-07 20:58:20 -05:00