Aaron
75a45c346f
Add repairDatabase support
2008-12-16 10:20:24 -05:00
Aaron
38edd39c7f
Not master if haven't caught up
2008-12-12 16:00:55 -05:00
Dwight
8738cdc2c2
Merge branch 'master' of ssh://git.10gen.com/data/gitroot/p
2008-12-12 14:23:06 -05:00
Dwight
3f130955fd
Merge branch 'master' of ssh://git.10gen.com/data/gitroot/p
...
Conflicts:
db/jsobj.h
2008-12-12 14:22:56 -05:00
Aaron
4d8c3fe3ac
Ignore dbgrid binary
2008-12-12 14:22:29 -05:00
Aaron
fc7da15c54
Add -Wsign-compare for g++, clean up a few warning messages
2008-12-12 14:19:49 -05:00
Dwight
410c4e03ff
bool seemCaughtUp
2008-12-12 14:18:27 -05:00
Aaron
a16c235dad
Add embedded object inequality test
2008-12-11 19:55:43 -05:00
Aaron
90603c4d28
Merge branch 'master' of ssh://aaron@git.10gen.com/data/gitroot/p
2008-12-11 19:16:36 -05:00
Aaron
ac39edd52c
Make object comparison recursive, with tests
2008-12-11 19:16:25 -05:00
Aaron
e85055ec41
Make object comparison recursive, with tests
2008-12-11 19:16:06 -05:00
Dwight
fa51bdc1f1
compile visual c++
2008-12-11 19:09:21 -05:00
Dwight
f9c2fa4646
Merge branch 'master' of ssh://git.10gen.com/data/gitroot/p
2008-12-11 18:51:58 -05:00
Dwight
fe7767635a
further $cmd cleanup
2008-12-11 18:51:49 -05:00
Aaron
b3d2c2ebd8
Some basic array index improvements
2008-12-11 17:35:11 -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
Aaron
3ec2ba4d9d
Added some index details tests
2008-12-11 15:20:28 -05:00
Aaron
31a4d14dd4
Fix indentation
2008-12-11 11:08:28 -05:00
Aaron
fab7190f3a
Index details unit tests initial commit
2008-12-11 11:07:05 -05:00
Aaron
d312a4482e
Merge branch 'master' of ssh://aaron@git.10gen.com/data/gitroot/p
2008-12-11 10:49:58 -05:00
Aaron
1387cb6763
Updating mongo xcode project again
2008-12-11 10:49:52 -05:00
Dwight
ec92451ee5
Merge branch 'master' of ssh://git.10gen.com/data/gitroot/p
2008-12-11 10:28:45 -05:00
Aaron
182bc135ad
Update mongo xcode project file
2008-12-11 10:27:44 -05:00
Dwight
d989b80308
Merge branch 'master' of ssh://git.10gen.com/data/gitroot/p
2008-12-11 10:27:15 -05:00
Dwight
0e32c98bf3
protect against inappropriate $cmd's to a slave mode db
...
Command code cleanup
--quiet for Jim
2008-12-11 10:27:05 -05:00
Aaron
4a5d9e567c
Cursor bracketing supports multiple inequalities on the same field
2008-12-11 09:48:14 -05:00
Dwight
b393202f97
fix my brain dead timing code
2008-12-10 16:52:25 -05:00
Dwight
9a439fabdd
Merge branch 'master' of ssh://git.10gen.com/data/gitroot/p
2008-12-10 15:24:15 -05:00
Dwight
2c6a08b7de
log cpu usage of the database (utilization)
2008-12-10 15:24:07 -05:00
Aaron
c552d12742
Simplify code for state logic
2008-12-10 13:21:22 -05:00
Aaron
8b8522c4e6
Lock repl pair state where necessary.
2008-12-10 13:07:18 -05:00
Dwight
b971c4ab83
prettier plus eliminating a couple warnings on visual c++
2008-12-10 11:39:13 -05:00
Dwight
a79b0b918c
Merge branch 'master' of ssh://git.10gen.com/data/gitroot/p
2008-12-10 11:33:05 -05:00
Dwight
980db0d0e6
for a repl pair, it is ok to pull from the other half of the pair replication data
...
if that member is a slave. fixed in this commit.
2008-12-10 11:32:56 -05:00
Aaron
91c62b9ed6
Only dominant node in pair can assign master & slave status; fixes potential race condition
2008-12-10 11:14:48 -05:00
Aaron
2cf251148e
If index direction is not numeric, assume forward; fixes 1101
2008-12-10 10:46:57 -05:00
Aaron
4c027f3cad
Add comments for new functions, pass set<> by reference as requested by Dwight
2008-12-09 14:42:47 -05:00
Aaron
7d9d477e68
Merge branch 'master' of ssh://aaron@git.10gen.com/data/gitroot/p
2008-12-09 12:05:24 -05:00
Aaron
f5f533a36f
Bracket btree cursors with beginning and and ending keys
2008-12-09 09:54:51 -05:00
Geir Magnusson Jr
40dd1bd6e4
Move the definition of objcheck variable from db.cpp to
...
instance.cpp, so that the dbtests can link - it doesn't
link with db.cpp
2008-12-08 14:41:38 -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
Dwight
a43b0755ad
--objcheck command
2008-12-08 11:21:00 -05:00
Aaron
155ac2b7c2
Add arbitration unit test; adjust tab formatting of some files
2008-12-07 20:58:20 -05:00
unknown
8e600e8f1b
bug with the new NumericInt datatype fixed
...
keys were misordered in btree under certain condition.
bug could be manifested previously with:
local.src.test.ed.db.stress.hunga()
go(1,7109.450806359954)
2008-12-06 14:49:27 -05:00
Aaron Staple
40f34f6508
Merge branch 'master' of ssh://aaron@git.10gen.com/data/gitroot/p
2008-12-05 17:18:51 -05:00
Aaron Staple
ef4988edc4
Git ignore dbtests
2008-12-05 17:18:27 -05:00
Dwight
971524387a
Merge branch 'master' of ssh://git.10gen.com/data/gitroot/p
...
Conflicts:
client/dbclient.h
2008-12-05 16:51:43 -05:00
Dwight
74f630aacc
timing capabilities
2008-12-05 16:45:10 -05:00
Aaron Staple
2bbe7adce3
Fix auto_ptr usage in test
2008-12-05 16:13:21 -05:00
Aaron Staple
243a3e6b2f
Adding some pairing tests
2008-12-05 16:03:35 -05:00