Tad Marshall
c8e45cce25
SERVER-2833 -- shut down cleanly on OS or Service Controller shutdown event
...
Added code to log shutdown events from the Windows Service Controller
and to respond correctly to those events. Shutdown from the console
on logoff or shutdown callbacks (stop ignoring them).
2011-12-01 20:42:13 -05:00
Dwight
6d9e1f084e
partial buildbot fix for recent locking refactoring
2011-11-29 14:55:30 -05:00
dwight
d1a054cac5
fix DiagLog race condition. while at it some cleaning
2011-11-14 18:38:16 -05:00
dwight
3ecfaf9596
warn if start without replset
2011-11-13 10:20:16 -05:00
dwight
f511d1d300
log if flushing is taking really really long
2011-11-12 10:25:00 -05:00
Tony Hannan
eb60a604a5
SERVER-4047: make error message for missing dbpath clearer
2011-11-02 19:21:14 -04:00
Ry4an Brase
a377165b17
Warn which options are preventing server launch.
2011-11-02 00:44:40 -04:00
Dwight
8c2a0eace3
cleaning
2011-10-26 13:20:11 -04:00
Brandon Diamond
1dda8a8c30
Cleaned up posix-only code
2011-10-25 12:37:35 -04:00
Brandon Diamond
9e4a870471
SERVER-2825 Added async error support to mongos/d
2011-10-25 11:57:45 -04:00
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