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

849 Commits

Author SHA1 Message Date
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