Commit Graph

702 Commits

Author SHA1 Message Date
Eliot Horowitz
a1e68969d4 use PDFILE_VERSION instead of VERSION since its such a common name SERVER-3671 2011-10-22 12:03:38 -04:00
dwight
08c3888312 make a long running operation terminate if the client has disconnected. we check for this at the beginning
of every request but intra request.  if a request will run for a very long time this is bad.

probably not for backporting -- might be nuances need to smoke for a while

also some yield code cleaning, really just making it easier to read.
2011-10-11 15:16:01 -04:00
Mathias Stearn
66a752ea8e Don't allow both --journal and --nojournal at same time SERVER-3655 2011-09-26 12:42:26 -04:00
Mathias Stearn
d280fd8c0b Add a new_handler to print stack and exit when new fails SERVER-3612 2011-09-14 18:36:03 -04:00
Mathias Stearn
bdad14498f Strip trailing / of dbpath on windows SERVER-3557 2011-09-12 14:26:40 -04:00
Mathias Stearn
09ccdc7c70 Exit immediately on abruptQuit
Already doing this if journaling is enabled. In generally if there is an
abort() or segfault it is better to bail immediately rather than going
through normal shutdown process, which includes waiting for the lock.
2011-09-12 12:50:05 -04:00
Mathias Stearn
b31c71b298 Warn that journaling isn't default on 32-bit SERVER-3654 2011-08-22 15:42:20 -04:00
dwight
345793af4d SERVER-2506 configurable journal batch commit time 2011-08-08 09:06:19 -04:00
gregs
5833aa3be3 add hidden --nopreallocj option to turn off journal preallocation 2011-08-03 17:11:16 -04:00
dwight
fb8b893665 make journaling the default on 64 bit 2011-07-31 08:36:46 -04:00
Eliot Horowitz
446252880c remove duplicate log messages 2011-07-27 09:48:35 -04:00
Kristina
84066dcac9 make sure rs always sets _logOp after newRepl runs 2011-07-25 13:20:25 -04:00
Mathias Stearn
39d2368160 clean up --sysinfo output 2011-07-08 18:15:36 -04:00
Eliot Horowitz
385049aa0a don't spam in --repair because not listening 2011-07-07 14:19:59 -04:00
Dwight
dd627743dd crlf 2011-06-28 16:22:25 -04:00
Eliot Horowitz
cf51af10c5 put objcheck in CmdLine 2011-06-26 18:28:45 -04:00
Eliot Horowitz
ddde89b8cf move noUnixSocket to cmdline 2011-06-26 17:31:07 -04:00
Eliot Horowitz
3b185eeee3 net cleaning: move message_server* to net 2011-06-26 16:59:10 -04:00
Eliot Horowitz
7a225bd271 use journalling instead of dialog for config server SERVER-3336 2011-06-25 21:51:40 -04:00
Eliot Horowitz
131e1d2182 more cleaning 2011-06-22 15:51:08 -04:00
Mathias Stearn
d56df68463 first pass at --shutdown flag. Will use in init scripts after more testing SERVER-3307 2011-06-21 19:39:53 -04:00
Mathias Stearn
d55d9744ad Build parsedOpts object, print it at startup and include in getCmdLineOpts SERVER-3076 2011-06-21 19:39:53 -04:00
Dwight
6c99d204c1 stub doPreServerStatupInits() 2011-06-17 14:57:16 -04:00
Dwight
73b97fda11 autoresync is for non repl sets only SERVER-3248 2011-06-14 17:26:27 -04:00
Eliot Horowitz
74ddb407d9 maxconns for mongos 2011-06-06 11:16:57 -04:00
Eliot Horowitz
fc2f62330f convert WriteBack cleaner to periodic task 2011-05-17 14:23:18 -04:00
Eliot Horowitz
43034d0493 start thread at appropriate time 2011-05-16 18:05:03 -04:00
dwight
cdc246342b slightly clearer msg 2011-05-15 20:15:10 -04:00
Eliot Horowitz
815b995207 more getLog work
show logs
show log helpers in shell
2011-05-02 15:01:52 -04:00
dwight
f46e187301 put hostname in the log. should make support a little easier. 2011-04-29 23:22:21 -04:00
dwight
ffb3f37978 bug with --configsvr command line param 2011-04-25 18:43:12 -04:00
dwight
6d6d6e4309 cleaner 2011-04-19 09:21:29 -04:00
dwight
43e19abd09 use smaller journal files with --smallfiles option 2011-04-18 19:16:08 -04:00
dwight
4f969e112a trap segfaults and such and try to log them on windows
we also try to write a note to the windows event viewer
2011-04-18 18:44:38 -04:00
Dwight
fbc032038d dont allow user databases on --configsvr instances 2011-04-14 17:20:29 -04:00
Dwight
f86fd65d66 help locate errors and facility for better msgs 2011-04-12 11:37:23 -04:00
Dwight
c4c8745b44 pathlock terminate message on windows was not very clear 2011-04-06 11:16:39 -04:00
Eliot Horowitz
c4b09ea4d2 fix linking of exitCleanly 2011-04-05 02:37:18 -04:00
Eliot Horowitz
75aec1061e finish unifying network server code 2011-04-05 02:30:06 -04:00
Eliot Horowitz
f9237e3cb6 working towrads unifying network code 2011-04-05 02:24:16 -04:00
Mathias Stearn
e73c3aac9d Dont error out due to lockfile when running with --repair SERVER-1609 2011-04-04 17:32:49 -04:00
Mathias Stearn
72ee3c3ef7 spelling 2011-04-04 17:22:43 -04:00
Dwight
1d3134107f fix err numbers 2011-04-04 13:05:46 -04:00
Eliot Horowitz
9a397af854 make sure if we can't start a new thread for a socket, we release the connection ticket SERVER-2537 2011-03-31 08:57:53 -04:00
Aaron
fc88362bdb SERVER-1465 add deprecation message for deprecated replica pair command line options 2011-03-29 18:00:01 -07:00
Aaron
fce112398b SERVER-1465 remove replica pairs 2011-03-29 16:56:53 -07:00
Aaron
be058d7732 SERVER-2808 try to compile non apple 2011-03-24 12:47:21 -07:00
Aaron
5d5e995ecf SERVER-2808 print address information when available for signals 2011-03-24 12:21:58 -07:00
Eliot Horowitz
8b947f035d add --nojournal along with --nodur 2011-03-16 17:02:51 -04:00
Eliot Horowitz
3c0b1c8e6d fix SERVER-2745 2011-03-16 01:39:30 -04:00