Commit Graph

132 Commits

Author SHA1 Message Date
Dwight
0bc5be592d validate a little smarter 2008-06-29 22:33:59 -04:00
Dwight
d3e3876751 stack traces 2008-06-27 14:35:05 -04:00
Dwight
58d84f51f2 close datafiles on any sort of termination (including seg fault) 2008-06-26 15:30:54 -04:00
Dwight
9dbbf6065e test stub 2008-06-26 15:05:14 -04:00
Dwight
15dfe43b34 move send() out of mutex.
should fix issue with db getting stuck on dev
2008-06-26 10:33:06 -04:00
Dwight
1f433f935d don't stop core dumps by mistake. 2008-06-26 09:09:19 -04:00
Dwight
2fc57c4159 change to do ref counts for JSObj objects.
should fix OS X
dangerous change.
2008-06-25 17:13:40 -04:00
Dwight
4bab168e0f better opLogging - smarter with $cmd, log subset of reads option. 2008-06-25 14:25:34 -04:00
Dwight
dc39662994 capped: don't assert on what could be a user error 2008-06-25 13:08:51 -04:00
Dwight
24d5031c9b Merge branch 'master' of ssh://git.10gen.com/data/gitroot/p 2008-06-25 10:46:42 -04:00
Dwight
fd39a9c15b log less (minor) 2008-06-25 10:46:33 -04:00
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