0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +01:00
Commit Graph

1047 Commits

Author SHA1 Message Date
Aaron
639c73405c Don't log an update having no effect, log id as query when doing just one remove 2009-01-28 15:24:52 -05:00
dwight
7814aef457 perf experiments 2009-01-28 11:53:55 -05:00
dwight
f02ed94277 better validate 2009-01-28 11:16:25 -05:00
Dwight
d4540e1573 set last error state when a $cmd error happens 2009-01-27 18:16:37 -05:00
Dwight
2184a87bd6 Merge branch 'master' of ssh://git.10gen.com/data/gitroot/p 2009-01-27 17:29:11 -05:00
Dwight
91f427d761 handle different _id types in keypattern fo the _id index uniqueness check
Please enter the commit message for your changes.
2009-01-27 17:29:03 -05:00
Aaron
0c6deae423 Merge branch 'master' of ssh://aaron@git.10gen.com/data/gitroot/p 2009-01-27 16:17:07 -05:00
Aaron
cfb9ffa0ec Reset index cache when deleting index 2009-01-27 16:16:53 -05:00
Dwight
3bb7761cc6 Merge branch 'master' of ssh://git.10gen.com/data/gitroot/p
Conflicts:

	db/btree.h
2009-01-27 15:36:43 -05:00
Dwight
83c1dbb1c2 check the index range first before we go into the object on a query -- so we don't hit disk unnecessarily
fix index4.js test
check on index creation that index key pattern is ok
2009-01-27 15:35:28 -05:00
Aaron
11b98dc426 Regex upper bound for index scan 2009-01-27 13:59:41 -05:00
Aaron
6ffc4ecfa7 Release mutex before exit 2009-01-27 11:52:52 -05:00
Dwight
d66047eb8d bug fix for the unique _id code
plus, remove old comments
2009-01-27 09:51:02 -05:00
Dwight
35227776c6 shutdown command 2009-01-26 18:33:20 -05:00
Dwight
c85b113c66 check that _id is unique 2009-01-26 17:23:45 -05:00
Eliot Horowitz
63aea0a67c uptime to timeinfo command 2009-01-26 15:44:48 -05:00
Dwight
75189ad04a compile windows 2009-01-26 09:33:20 -05:00
Aaron
5bd2b8bb72 Don't assume referenced object exists 2009-01-25 22:25:01 -05:00
Eliot Horowitz
55f06f722d element stream 2009-01-25 19:56:44 -05:00
dwight
7aba6a0e0f _id can be any type 2009-01-25 19:53:51 -05:00
Eliot Horowitz
6745ae9693 dbexit needs to use real exit 2009-01-25 16:25:36 -05:00
Eliot Horowitz
1cffce1077 get rid of #define exit and just defined it in the mongo namespace 2009-01-25 12:40:11 -05:00
dwight
76b6aac917 make security work with repl pairs
replicate system.users collection
2009-01-24 21:25:55 -05:00
dwight
4b534c7de4 change numeric toString -- doubles always end with ".<something>" now so you can tell if it is int or double
without the parenthetic expression thereafter
2009-01-24 17:35:25 -05:00
dwight
ec434bd7c1 make security work for repl pairs 2009-01-24 16:05:12 -05:00
dwight
8ba2174076 Merge branch 'master' of ssh://git.10gen.com/data/gitroot/p 2009-01-23 18:24:28 -05:00
dwight
cc62027aee replication with security on 2009-01-23 18:24:15 -05:00
Eliot Horowitz
fa4ccdb845 typo 2009-01-23 16:47:53 -05:00
Eliot Horowitz
17a8a84af9 spam 2009-01-23 15:52:53 -05:00
dwight
cebc62161e log a little less 2009-01-23 15:15:07 -05:00
Aaron
3f0a199b79 Destroy cursor before connection 2009-01-23 14:25:16 -05:00
Aaron
ed4ce395ad Merge branch 'master' of ssh://aaron@git.10gen.com/data/gitroot/p 2009-01-23 11:52:52 -05:00
dwight
dbef4e3898 Merge branch 'master' of ssh://git.10gen.com/data/gitroot/p 2009-01-23 11:39:59 -05:00
Aaron
4b240b485a md5 function no longer necessary 2009-01-23 11:38:26 -05:00
dwight
7b69fc0656 Merge branch 'master' of ssh://git.10gen.com/data/gitroot/p 2009-01-23 11:35:42 -05:00
dwight
39ab3422b0 correct security on db eval's 2009-01-23 11:35:22 -05:00
Aaron
7487c76283 Rely on DBDirectClient dummy authorization instead 2009-01-23 11:33:26 -05:00
Aaron
4fd8be64c8 Fix dependency problem 2009-01-23 11:28:29 -05:00
Aaron
6d40919704 Typo 2009-01-23 10:30:15 -05:00
Aaron
1944722861 Typo 2009-01-23 10:28:07 -05:00
Aaron
29c383ae20 Merge branch 'master' of ssh://aaron@git.10gen.com/data/gitroot/p 2009-01-23 10:17:34 -05:00
Aaron
a3f927ffed Add idempotence tests for some oplog operations 2009-01-23 10:17:29 -05:00
Aaron
7a567fb59b Can inherit from auth 2009-01-23 10:16:36 -05:00
Aaron
2722c2f472 Convert to const 2009-01-23 10:15:36 -05:00
Aaron
9d3019ba30 Dummy authorization for DBDirectClient 2009-01-23 10:11:11 -05:00
dwight
2e6f4fc3da multi obj insert is ok - mistake with previous security checkin 2009-01-22 18:37:41 -05:00
Aaron
c1b8c2669b Parse both hex characters of each byte 2009-01-22 16:38:02 -05:00
Eliot Horowitz
64e1027072 track where the db was started from so easier to find jars 2009-01-22 11:15:51 -05:00
dwight
6728b807fa better version of sync checkpoint 2009-01-21 18:50:32 -05:00
dwight
821f43a268 checkpoint our replication progress periodically 2009-01-21 18:48:37 -05:00
dwight
ef08378ffe if you are authorized for admin, you can access all databases 2009-01-21 17:51:53 -05:00
dwight
273b3f8b38 Merge branch 'master' of ssh://git.10gen.com/data/gitroot/p 2009-01-21 17:26:34 -05:00
dwight
0f9f3648b0 if no admin.system.users, allow access to everything from localhost 2009-01-21 17:26:16 -05:00
Aaron
8b01c6621f Merge branch 'master' of ssh://aaron@git.10gen.com/data/gitroot/p 2009-01-21 16:04:37 -05:00
Aaron
046e7f9acf Add HostByName test 2009-01-21 15:50:49 -05:00
dwight
2e3589760e Merge branch 'master' of ssh://git.10gen.com/data/gitroot/p 2009-01-21 15:06:42 -05:00
dwight
b97b97c3eb getnonce now returns a prettier nonce string -- hex digits as a string instead of double as a string. 2009-01-21 15:06:13 -05:00
Aaron
6bb5ca74b8 Use ns string value for map key, rather than pointer location 2009-01-21 14:40:15 -05:00
Aaron
f6e8243d96 Better message if dbpath does not exist 2009-01-21 11:44:40 -05:00
Aaron
92368e6f00 Clean up object size check 2009-01-21 11:14:35 -05:00
Aaron
e6f024873d Set up authInfo for auto- repair/migration 2009-01-21 11:06:53 -05:00
Aaron
bc695f0f7e Check valid object size 2009-01-21 11:01:45 -05:00
Aaron
2af86d3d5e Merge branch 'master' of ssh://aaron@git.10gen.com/data/gitroot/p 2009-01-21 10:49:04 -05:00
Aaron
a816e54816 Add 'fields' spec to cmd run count 2009-01-21 10:36:40 -05:00
Eliot Horowitz
90d35cded7 Merge branch 'master' into temp_auth
Conflicts:

	db/security_commands.cpp
2009-01-21 10:26:37 -05:00
Aaron
cea25bf080 Merge branch 'master' of ssh://aaron@git.10gen.com/data/gitroot/p 2009-01-20 17:07:29 -05:00
Aaron
c777160f0f Fix simple match spec for encapsulating elements and numbers 2009-01-20 16:54:57 -05:00
Aaron
201734cfa7 Matcher only reject incompatible types if not numbers 2009-01-20 15:44:40 -05:00
Eliot Horowitz
ba8668940e Merge branch 'master' of ssh://git.10gen.com/data/gitroot/p 2009-01-20 14:31:51 -05:00
Eliot Horowitz
3e7985c5d6 changed verbose to logLevel and added log(int) 2009-01-20 14:30:59 -05:00
Aaron
50ad828ec1 Better validation for element size 2009-01-20 13:04:18 -05:00
Eliot Horowitz
fbb8eb10ec using strings 2009-01-20 11:37:15 -05:00
Aaron
26b4acb5b9 Set up authInfo in contexts where it may be required 2009-01-20 11:05:53 -05:00
Aaron
e0fa0d2947 Try to fix vc++ compiler warnings 2009-01-19 09:51:38 -05:00
Aaron
45b5c44f41 Merge jsobj.h changes 2009-01-19 09:37:29 -05:00
unknown
cb90806ce1 basic security 2009-01-18 20:31:33 -05:00
unknown
c0961eb637 suppress a couple compiler warnings 2009-01-18 19:13:12 -05:00
dwight
500168288c minor/safer 2009-01-18 19:01:51 -05:00
dwight
e1021ee8ab authenticate command work
some dbhelpers additions
less verbose logging
2009-01-18 17:48:44 -05:00
Aaron
aadb251731 Patch some more holes in BSON validation 2009-01-18 13:11:43 -05:00
dwight
f7dcfc6a2c better randoms on OS X 2009-01-18 12:19:26 -05:00
dwight
644af22b4d makefile flags were wrong for C files 2009-01-18 12:05:17 -05:00
unknown
f412f99bee compile on windows 2009-01-18 11:53:33 -05:00
dwight
adfc20de09 make dbgrid compile 2009-01-18 11:10:01 -05:00
Aaron
9114640a56 Merge branch 'master' of ssh://aaron@git.10gen.com/data/gitroot/p 2009-01-17 09:12:43 -05:00
Aaron
204da5d094 Add more interesting fuzz tests, move json tests into separate file 2009-01-17 08:57:27 -05:00
Eliot Horowitz
1f27383fc2 oid parsing, slight better random 2009-01-17 00:20:47 -05:00
Eliot Horowitz
ff99799a0c moving some stuff to header file 2009-01-17 00:19:43 -05:00
Aaron
2a368b1ef4 Check that initial int representing size is in valid memory 2009-01-16 15:52:17 -05:00
Aaron
1c2b23bb0f Merge branch 'master' of ssh://aaron@git.10gen.com/data/gitroot/p 2009-01-16 15:15:33 -05:00
Aaron
1524c3e44b Enhance BSONObj::validate() 2009-01-16 15:13:46 -05:00
Eliot Horowitz
004db2d6fe incorrect implementation of OID 2009-01-16 14:21:46 -05:00
Aaron
3305dbf856 Merge branch 'master' of ssh://aaron@git.10gen.com/data/gitroot/p 2009-01-16 11:06:57 -05:00
Eliot Horowitz
31a8c7c0b2 little more doc cleaning 2009-01-16 10:48:21 -05:00
Eliot Horowitz
9ae07259eb Merge branch 'master' of ssh://git.10gen.com/data/gitroot/p 2009-01-16 10:45:04 -05:00
Eliot Horowitz
e87560d553 doc cleaning 2009-01-16 10:44:56 -05:00
Aaron
3a533a9432 Add new BSONObj::hexDump() function 2009-01-16 10:21:23 -05:00
Aaron
e1f97b30c4 Partially unify sorted/non-sorted btree cursor creation code, fixes bug 1139 2009-01-16 09:55:36 -05:00
Aaron
7c7bd85c6d Add start / end key to explain, fix key extraction ordering 2009-01-15 13:04:25 -05:00
Aaron
261a467aa5 Replaced our #defined cout with mongo::out() 2009-01-15 11:26:38 -05:00
Aaron
90d45238aa Indent all lines within namespaces one level 2009-01-15 10:17:11 -05:00
Eliot Horowitz
938c2c07a8 some cleaning so that client doesn't have to link against java and pcre 2009-01-15 10:08:20 -05:00
Aaron
248a6dd8de Replace tab indentation with spaces 2009-01-14 17:17:24 -05:00
Aaron
ad1f6b3cbd Put our code in 'mongo' namespace 2009-01-14 17:09:51 -05:00
Aaron
64cc93ac22 Merge jsobj.h changes 2009-01-14 14:24:34 -05:00
Aaron
21a13b1336 NEW pdfile # : 4.4; Support compound directions with compound indexes 2009-01-14 13:56:52 -05:00
Eliot Horowitz
9ecc007b5b move sayDbContext to stdafx (it was defined there anyway) 2009-01-14 13:00:07 -05:00
Eliot Horowitz
44b7b2cf1b Merge branch 'master' of ssh://git.10gen.com/data/gitroot/p 2009-01-14 10:40:22 -05:00
Eliot Horowitz
36a89782b7 utility method on Namespace 2009-01-14 10:40:09 -05:00
Aaron
d6e961f4af Merge branch 'master' of ssh://git.10gen.com/data/gitroot/p 2009-01-14 10:12:09 -05:00
Aaron
20dc205b17 Size calculation works for cap extent minSize on 64 bit machines, removed compiler warnings. 2009-01-14 10:11:51 -05:00
Eliot Horowitz
a7862f5527 int vs. double 2009-01-14 09:57:53 -05:00
Eliot Horowitz
bf7edfbae5 playing with BSONObjBuilder stream for building
and an example
2009-01-14 09:40:54 -05:00
Eliot Horowitz
b1bd045a9a more builder returning itself 2009-01-13 16:08:01 -05:00
Eliot Horowitz
b457502b26 playing with Builder returning itself on append calls so you can do things like
BSONObjectBuider().append( "a" , 1 ).append( "b" , 2 ).doneAndDecouple()
2009-01-13 15:20:28 -05:00
Aaron
72a4d77e23 Only check prev file size if file has been opened 2009-01-13 14:57:21 -05:00
Aaron
29bf72030f Merge branch 'master' of ssh://aaron@git.10gen.com/data/gitroot/p 2009-01-13 14:28:04 -05:00
Aaron
f2bbe89666 Limit regex options, only use Dbref() in TenGen mode 2009-01-13 14:27:59 -05:00
Eliot Horowitz
4e60ec0df1 sayPiggyBack/piggyBack
not implemented yet, just passes through to say
2009-01-13 12:53:00 -05:00
Aaron
2cebe27624 Add new files to targets 2009-01-13 10:36:27 -05:00
Aaron
303ad60dcf Large oplog collection sizes + misc 2009-01-13 10:34:36 -05:00
Aaron
51276a86b1 Large oplog collection sizes + misc 2009-01-13 10:34:18 -05:00
Aaron
6cf747653f New capped collection cursors 2009-01-13 10:32:34 -05:00
Aaron
509c2de55b Logic for choosing file size 2009-01-13 10:31:56 -05:00
Aaron
c561ec3513 Make findElement const 2009-01-13 10:30:52 -05:00
Aaron
c794c1e681 Support capped collections w/ multiple extents (migration from old formats is automatic) 2009-01-13 10:30:01 -05:00
Aaron
d0299a39d1 Separate file size spec from name, create new style capped cursors, define file size func on any os 2009-01-13 10:28:42 -05:00
Aaron
49043c49d6 Check syntactically reserved field names specifically 2009-01-12 11:51:20 -05:00
Aaron
3e5965e2c9 Fix disk free space calculation 2009-01-12 09:58:30 -05:00
dwight
990ef522c2 Merge branch 'master' of ssh://git.10gen.com/data/gitroot/p 2009-01-10 18:30:37 -05:00
dwight
aeef0a9d3d Merge branch 'master' of ssh://git.10gen.com/data/gitroot/p
Conflicts:

	client/dbclient.cpp
	client/dbclient.h
2009-01-10 18:29:09 -05:00
Eliot Horowitz
5867ae239d backwards compatability for python where/eval 2009-01-10 18:26:02 -05:00
dwight
8428e6cbda command work client driver 2009-01-10 18:17:23 -05:00
Dwight
4927faac52 Merge branch 'master' of ssh://git.10gen.com/data/gitroot/p 2009-01-09 18:15:37 -05:00
Dwight
e586e5220a a little work on securit 2009-01-09 18:15:30 -05:00
Eliot Horowitz
f0074a5e3d set curNS = 0 after db ops to prevent crazy errors 2009-01-09 17:07:24 -05:00
Eliot Horowitz
d5d18f9a94 more asserts 2009-01-09 15:54:50 -05:00
Eliot Horowitz
bdaae591ba assert 2009-01-09 15:20:09 -05:00
Dwight
96d4406ece set options flag when $err is returned 2009-01-09 11:20:16 -05:00
Geir Magnusson Jr
da9a8dcac0 SWAG at flagging query errors via the flags int in the query response.
This is just to motivate getting this done :)

https://10gen.fogbugz.com/default.asp?1138
2009-01-08 22:05:51 -05:00
Geir Magnusson Jr
d0112b7569 Merge branch 'master' of ssh://git.10gen.com/data/gitroot/p 2009-01-08 22:02:26 -05:00
Eliot Horowitz
cd9d750a93 Merge branch 'master' of ssh://git.10gen.com/data/gitroot/p 2009-01-08 16:24:05 -05:00
Eliot Horowitz
d61abc7489 eval works with a string
return java exception
2009-01-08 16:23:59 -05:00
Aaron
f1a538c7c8 Don't allow field names starting with $, added some tests 2009-01-08 15:21:16 -05:00
Eliot Horowitz
6626d2d9a9 boost instead of posix 2009-01-08 14:28:10 -05:00
Eliot Horowitz
965c03a203 can run without ed around
all the jars needed
2009-01-08 14:18:27 -05:00
Dwight
4f0237bcda Merge branch 'master' of ssh://git.10gen.com/data/gitroot/p 2009-01-07 18:47:20 -05:00
Dwight
3310cb2280 security beginnings 2009-01-07 18:47:11 -05:00
Geir Magnusson Jr
6257f0c069 Merge branch 'master' of ssh://git.10gen.com/data/gitroot/p 2009-01-07 18:28:10 -05:00
Aaron
7d68edbe93 Remove dangerous, unused function 2009-01-07 17:03:16 -05:00
Eliot Horowitz
abd3ab38a6 we don't need MFC 2009-01-07 16:48:47 -05:00
Dwight
1f737827b0 Merge branch 'master' of ssh://git.10gen.com/data/gitroot/p 2009-01-07 13:31:23 -05:00
Dwight
db20305fa1 md5 2009-01-07 13:31:16 -05:00
Aaron
6f18133277 Minor cleanup 2009-01-07 10:32:44 -05:00
Aaron
601be4dd4f recv full http request, implement simple rest post handling, refactor dbclient code 2009-01-07 10:08:12 -05:00
Dwight
6e9a533d67 more threadsafe 2009-01-06 18:57:01 -05:00
Dwight
11c43967f9 Merge branch 'master' of ssh://git.10gen.com/data/gitroot/p 2009-01-06 18:25:45 -05:00
Dwight
1cc123561a try not to die in segv printouts with deadlocks and such 2009-01-06 18:25:38 -05:00
Aaron
d91a66e744 Free bson builders if unable to parse 2009-01-06 14:27:05 -05:00
Aaron
9c4278f3ff Fix up regexp parsing 2009-01-06 13:54:19 -05:00
Aaron
79f6f769af Fix comment 2009-01-06 13:12:47 -05:00
Aaron
e43158ea54 Clear string buffer, which may have characters left over from a failed pattern match 2009-01-06 13:08:25 -05:00
Aaron
dacc872ba2 Enhance json parser 2009-01-06 13:02:09 -05:00
Dwight
1ca30aed27 strtod not strtof (better) 2009-01-06 10:50:01 -05:00
Dwight
bed528742b Merge branch 'master' of ssh://git.10gen.com/data/gitroot/p 2009-01-06 10:48:17 -05:00
Dwight
b7b8bed9f7 don't create local db if running without replication
clean up startup options for dbgrid
2009-01-06 10:48:09 -05:00
Eliot Horowitz
2a899ee01e Merge branch 'master' of ssh://git.10gen.com/data/gitroot/p 2009-01-05 16:12:48 -05:00
Eliot Horowitz
5bc0c4a04e filter_
some more fields, some from couch, some not
2009-01-05 16:12:44 -05:00
Eliot Horowitz
27b5f64de9 jsonString 0 fix 2009-01-05 16:12:25 -05:00
Dwight
2e35206b47 getlasterror 2009-01-05 15:30:07 -05:00
Eliot Horowitz
037e2ae555 hasField 2009-01-05 14:47:51 -05:00
Eliot Horowitz
390fc85eb9 limit and count work 2009-01-05 14:47:41 -05:00
dwight
ffc3bb2216 minor nicer logging 2009-01-04 20:09:31 -05:00
yellow
b726cbeed5 more flushtest 2009-01-04 19:13:51 +00:00
dwight
a4c7aae14c more flushtest tinkering 2009-01-04 13:58:05 -05:00
Geir Magnusson Jr
21bb767bce Merge branch 'master' of ssh://git.10gen.com/data/gitroot/p 2009-01-04 11:01:38 -05:00
yellow
f9eff46970 linux support flushtest 2009-01-03 19:13:16 +00:00
dwight
b557e3ad74 better flushtest 2009-01-03 14:01:59 -05:00
Eliot Horowitz
8c35ccfba6 fsync 2009-01-03 13:01:29 -05:00
dwight
fdb7b856d3 makefile for flushtest 2009-01-03 11:31:01 -05:00
dwight
bac68f8e58 flushtest 2009-01-03 11:28:21 -05:00
Eliot Horowitz
5c98086691 make all - db dbgrid mongodump 2009-01-02 16:43:14 -05:00
Eliot Horowitz
ce95083dc2 moving DBDirectClient to instance.* b/c it only make sense there and cleans linking 2009-01-02 16:41:13 -05:00
Aaron
7dde088721 Remove compiler warning about unused variable 'end' 2009-01-02 10:58:40 -05:00
Aaron
f0b6cf77b5 Actually handle utf8 correctly 2009-01-02 10:57:33 -05:00
Aaron
86c13991df massert rather than assert in jsonString() 2009-01-02 10:52:43 -05:00
Aaron
ff2f3e9784 Merge branch 'master' of ssh://aaron@git.10gen.com/data/gitroot/p 2009-01-02 10:45:16 -05:00
Dwight
babed98050 compile on windows 2009-01-02 10:39:59 -05:00
Eliot Horowitz
a164be1e43 messing around with REST api 2008-12-31 15:07:01 -05:00
Aaron
44351d8772 Clean up reserved size calculation 2008-12-31 13:58:06 -05:00
Eliot Horowitz
c89f0e9df9 using new DBDirectClient 2008-12-31 11:59:41 -05:00
Eliot Horowitz
e5aa3e5e0b move DirectConnector to dbclient and make DBDirectClient 2008-12-31 11:59:28 -05:00
Eliot Horowitz
f5a9c70a19 default to Strict 2008-12-31 11:59:03 -05:00
Aaron
517ac6fcc6 Merge branch 'master' of ssh://aaron@git.10gen.com/data/gitroot/p 2008-12-31 11:47:40 -05:00
Aaron
6a4de72765 Add non-Strict mode for Dbref, use base64 encoding for bindata 2008-12-31 11:33:41 -05:00
Dwight
c203d09166 eliminate one warning compiling 2008-12-31 10:03:30 -05:00
Dwight
e1a8364867 Merge branch 'master' of ssh://git.10gen.com/data/gitroot/p 2008-12-31 10:02:01 -05:00
Dwight
42a807d3ee minor logging prettiness 2008-12-31 10:01:55 -05:00
Eliot Horowitz
9778190a26 REST stub from middle of night 2008-12-31 09:17:30 -05:00
Geir Magnusson Jr
908a11ac11 Merge branch 'master' of ssh://git.10gen.com/data/gitroot/p 2008-12-31 06:21:49 -05:00
Eliot Horowitz
9dde507fa7 better url parsing 2008-12-30 21:58:36 -05:00
Aaron
3b40382a0d Start on TenGen and JS modes 2008-12-30 19:04:40 -05:00
Aaron
23a76df868 Merge branch 'master' of ssh://aaron@git.10gen.com/data/gitroot/p 2008-12-30 18:21:26 -05:00
Aaron
e598a0cedd Only escape if utf8 character in basic ascii range 2008-12-30 18:20:57 -05:00
Aaron
6b9b6ffa77 Add date and regexp strict mode 2008-12-30 17:47:36 -05:00
Aaron
5c9b3f8d30 Added Symbol support to formattedString, modified BinData format 2008-12-30 17:16:39 -05:00
Aaron
cb023c8bb5 Better OID printing 2008-12-30 17:05:15 -05:00
yellow
c38ac0015e [dm] if we see an operation in the oplog (at the slave) with a malformed database name,
skip the op rather than halting replication.
2008-12-30 17:39:18 +00:00
Aaron
93c8c75db7 Merge branch 'master' of ssh://aaron@git.10gen.com/data/gitroot/p 2008-12-30 11:16:20 -05:00
Aaron
d5d630022a Started BSONObj::formattedString 2008-12-30 11:16:14 -05:00
Dwight
9ff3564c67 no spaces 2008-12-30 09:47:04 -05:00
Dwight
505021f882 defend against bad db names
plus a little code cleanup
2008-12-30 09:43:13 -05:00
Eliot Horowitz
f867ea1a11 typo 2008-12-29 17:59:44 -05:00
Eliot Horowitz
53b68d1b60 fast db binary dump 2008-12-29 17:52:45 -05:00
Eliot Horowitz
875ea007ef boost filesystem oddity
this lets me use a:b with all versions of boost
2008-12-29 17:52:23 -05:00
Eliot Horowitz
87cf98d367 can take string as well as char* 2008-12-29 17:52:05 -05:00
Aaron
09b50bacc6 reorganize listDatabase objects per Eliot's suggestion 2008-12-29 15:06:39 -05:00
Aaron
6e639c392d Log prettier 2008-12-29 14:36:41 -05:00
Aaron
a6169c8e88 Merge branch 'master' of ssh://aaron@git.10gen.com/data/gitroot/p 2008-12-29 14:22:39 -05:00
Aaron
4e01f4fc84 Clear tmp dirs on startup 2008-12-29 14:22:36 -05:00
Aaron
689962e86d Move getDatabaseNames to instance.cpp 2008-12-29 14:07:21 -05:00
Geir Magnusson Jr
bacf992d45 testing - please ignore - no functional change 2008-12-29 14:07:20 -05:00
Aaron
59c6f23224 Add listDatabases command 2008-12-29 13:24:24 -05:00
Aaron
3211918f04 Merge branch 'master' of ssh://aaron@git.10gen.com/data/gitroot/p 2008-12-29 12:11:14 -05:00
Aaron
f6613cc644 Check db size before repairing 2008-12-29 11:56:13 -05:00
Dwight
a9bbd5681b nicer logging
--verbose
2008-12-29 11:47:20 -05:00
Aaron
b8c9daf883 Catch more exception types in connThread(), instead of failing silently 2008-12-28 23:11:09 -05:00
Aaron
c9429bb044 Reinstate pairing tests 2008-12-28 22:01:18 -05:00
Aaron
b7cbd30112 Replace tab indentation with spaces 2008-12-28 20:28:49 -05:00
dwight
b53f593e1b was logging too much 2008-12-28 15:32:12 -05:00
unknown
4148938303 simple quotas for disk usage 2008-12-27 12:07:20 -05:00
unknown
d3d8cb55d1 minor logging cleanup 2008-12-27 11:05:04 -05:00
dwight
ac2ab910d5 begin --quotasimple 2008-12-26 22:06:48 -05:00
dwight
12e8be2b62 ensurehaveidindex had a bug could have resulting in two _id indexes 2008-12-25 21:22:27 -05:00
unknown
6e6f6ea895 regex compare now implemented 2008-12-25 20:51:32 -05:00
unknown
96f476c3c5 compile on visual C++ / windows 2008-12-25 20:22:24 -05:00
dwight
73ad3f1454 partial - appendRegex not finished yet 2008-12-25 20:05:31 -05:00
Aaron
ee7678e545 Merge branch 'master' of ssh://aaron@git.10gen.com/data/gitroot/p 2008-12-24 17:30:29 -05:00
Aaron
e00864a8b6 Print new pdfile version number in log message 2008-12-24 17:21:26 -05:00
Dwight
28ac78b9ce Merge branch 'master' of ssh://git.10gen.com/data/gitroot/p 2008-12-24 14:11:25 -05:00
Dwight
679d0aa0c3 if blank db name data present, just skip while replicating 2008-12-24 14:11:14 -05:00
Aaron
2df571a8bb Merge branch 'master' of ssh://aaron@git.10gen.com/data/gitroot/p 2008-12-24 14:10:39 -05:00
Aaron
3148da81f2 Index simple objects within arrays 2008-12-24 13:57:30 -05:00
Dwight
10825ba77d better error messagse for replication 2008-12-24 11:11:10 -05:00
Aaron
7e5802c7ae Comment 'first operation' logging 2008-12-22 13:19:51 -05:00
Aaron
0611369ae8 Merge branch 'master' of ssh://aaron@git.10gen.com/data/gitroot/p 2008-12-22 13:14:35 -05:00
Aaron
351c50c7a4 dbpath parameter to initAndListen has been removed 2008-12-22 13:14:22 -05:00
Dwight
8b0a5e7f49 Merge branch 'master' of ssh://git.10gen.com/data/gitroot/p 2008-12-22 12:38:24 -05:00
Dwight
0ffc82172d release_nojni visual studio target added
check for little endian when start
2008-12-22 12:38:12 -05:00
Aaron
74fc8f3b31 Document field extraction functions 2008-12-19 18:17:56 -05:00