Commit Graph

271 Commits

Author SHA1 Message Date
yellow
240c50cee3 from eliot
need to call log init in a more general place
2008-06-25 09:00:42 -04:00
Dwight
26dea1fcd6 db.dropDatabase(); 2008-06-24 17:31:51 -04:00
Dwight
cb18407a0d replay better 2008-06-23 16:28:25 -04:00
Dwight
5d2cdfbad0 replay 2008-06-18 17:34:14 -04:00
Dwight
f5947576e2 Merge branch 'master' of ssh://git.10gen.com/data/gitroot/p 2008-06-17 16:57:24 -04:00
Dwight
652faabd18 catch exception on getMore() 2008-06-17 16:57:12 -04:00
Dwight
683671d4bb db msg end only works for localhost now for security. 2008-06-13 14:28:43 -04:00
Dwight
c79a5e1753 fix a jni issue with the last bug fix. 2008-06-12 11:56:40 -04:00
Dwight
1d8c3e37b3 bad memory issue with cursors 2008-06-11 16:58:34 -04:00
Dwight
4bda2a91c6 logging 2008-06-10 17:20:15 -04:00
Dwight
94cb05e36a Merge branch 'dwight' 2008-06-10 13:13:57 -04:00
Dwight
1aeaa4f34d alloc cursor sl faster 2008-06-10 13:13:05 -04:00
Dwight
4690479e34 handle bad connect from something weird 2008-06-09 15:05:00 -04:00
Dwight
92d2e867b7 fix signal for jni 2008-06-07 09:19:49 -04:00
Dwight
6ba343cdf2 log less annoying 2008-06-06 10:47:39 -04:00
Dwight
1625885eb7 on kill, finish curr cmd. 2008-06-06 10:17:58 -04:00
Dwight
3051b961ca dos2unix 2008-06-06 09:43:15 -04:00
Geir Magnusson Jr
68fc2216b0 db.cpp, javajs.cpp : allow user to specify directory for appserver, rather than regular search 2008-06-06 08:39:04 -04:00
Dwight
9fba70e49f query embedded objects 2008-06-02 20:27:45 -04:00
Dwight
36435d4e78 debugging 2008-05-16 16:42:37 -04:00
Dwight
86f689d3ac log cursor id on getmore 2008-05-07 23:25:04 -04:00
Dwight
a48c6c2fa6 log dir 2008-05-01 10:55:18 -04:00
Dwight
548adc2678 don't assert if key to index too big ; nicer msg too 2008-05-01 10:22:05 -04:00
Dwight
def9b1ba01 Merge branch 'master' of ssh://git.10gen.com/data/gitroot/p 2008-04-30 19:32:07 -04:00
Dwight
d67a202c14 sai hack 2008-04-30 19:31:54 -04:00
Geir Magnusson Jr
29962eaf81 add the pid to the startup output to make it clear which process we are 2008-04-30 09:13:19 -04:00
Geir Magnusson Jr
bd7abd981b change how we fix the db-path : do it in initAndListen() 2008-04-30 09:02:15 -04:00
Geir Magnusson Jr
c6c693fdcc DB-1 : ensure that there's a trailing slash for dbpath
(otherwise bad things happen)
2008-04-30 08:47:31 -04:00
Dwight
8210548d7f dbproblem.log file 2008-04-25 17:24:27 -04:00
Dwight
eb204a454c Merge branch 'master' of ssh://git.10gen.com/data/gitroot/p 2008-04-17 10:12:32 -04:00
Dwight
84fd0d5390 debug minor 2008-04-17 10:12:25 -04:00
Geir Magnusson Jr
f3a45cf3a1 Add sig handler for SIGPIPE. Lets the app exit cleanly on a "msg end" loop 2008-04-13 12:32:37 -04:00
Geir Magnusson Jr
9c2a3c7c32 Return 0 when sent an "end" message as that's a clean exit 2008-04-12 19:26:14 -04:00
Dwight
a3f3a664a8 group by
appendBool / return bool from jni
2008-04-08 15:42:14 -04:00
Dwight
993e4fd967 overassert fixed 2008-04-07 13:35:58 -04:00
Dwight
f26b090d41 minor 2008-04-07 13:08:28 -04:00
Geir Magnusson Jr
042da8c2ab Parameterize the msg command so that port can be specified
Enables use of the "msg" feature of db to shut down an instance
based on the port it's listening to
2008-03-31 15:06:58 -04:00
Geir Magnusson Jr
5241d1f3ad Refactor db.cpp to remove repeated code
Encapsualted the init and listen code into a function.
2008-03-31 12:59:03 -04:00
Geir Magnusson Jr
cd788a2a0e Remove the tabs from my previous commit - no functional change 2008-03-31 12:07:18 -04:00
Geir Magnusson Jr
f51fd34f91 Merge branch 'master' of ssh://git.10gen.com/data/gitroot/p 2008-03-31 12:02:12 -04:00
Geir Magnusson Jr
49a9019ec6 Add alternative starting parameters to allow override of listening port and db data path
$ ./db --port 12345 --dbpath /foo/bar/baz
2008-03-31 12:02:04 -04:00
Dwight
74e5216442 v105 bug with client variable 2008-03-31 11:50:45 -04:00
Dwight
985d443af0 defensive 2008-03-31 11:00:26 -04:00
Dwight
e21dfab42e v104 assert 2008-03-31 09:39:43 -04:00
Dwight
93b8ffe183 $where optimization 2008-03-29 23:30:44 -04:00
Dwight
a34ad50532 more asserts 2008-03-29 17:49:13 -04:00
Eliot Horowitz
48de06f6e9 db local jni access works 2008-03-27 17:48:07 -04:00
Eliot Horowitz
56df95be78 Revert "making it readable in emacs"
This reverts commit add70a7068.
2008-03-27 10:20:08 -04:00
Eliot Horowitz
add70a7068 making it readable in emacs 2008-03-27 10:16:24 -04:00
Dwight
a46965e010 where tweaks 2008-03-26 14:51:47 -04:00