Dwight
ae30374ed8
Merge branch 'master' of github.com:mongodb/mongo
...
Conflicts:
db/btree.cpp
db/db.vcxproj
dbtests/test.vcxproj
server.h
util/concurrency/rwlock.h
util/concurrency/value.h
2011-10-03 13:43:34 -04:00
dwight
1740c0e1fd
better recovery error message
2011-09-12 22:17:51 -04:00
Dwight
48977d2abc
merge
2011-08-17 16:55:13 -04:00
Mathias Stearn
7ca7390738
remove unused mutex
2011-08-08 12:44:51 -04:00
dwight
8919d7686e
compile
2011-08-02 10:37:48 -04:00
dwight
a541e65d05
missing error code
2011-08-02 11:16:49 -04:00
dwight
59b8f97084
comment
2011-08-02 02:41:49 -04:00
dwight
50902acb9a
journal compression
2011-08-02 02:41:45 -04:00
dwight
9a30ac81c4
journal compression
2011-08-02 02:39:51 -04:00
Mathias Stearn
7c2bd1f36f
Truncate log files to end of current commit on rotate SERVER-3412
2011-08-01 19:14:03 -04:00
dwight
c98880c44a
handle zero file length in recovery dur
2011-07-22 13:36:24 -04:00
Dwight
351b732795
better error message
2011-07-20 15:28:23 -04:00
Mathias Stearn
c2992ef108
debugging asserts for SERVER-2755
2011-04-04 14:50:33 -04:00
Mathias Stearn
270996933d
replace "dur" with "journal" in log messages
2011-04-04 12:15:23 -04:00
Dwight
67f71fe774
in the past a stat was lost with a change to writetodatafiles, adding back
2011-03-11 16:57:32 -05:00
dwight
df7248a721
cant destroy complex global variables at shutdown 180?
2011-03-01 21:08:44 -05:00
dwight
68838eb4e6
fix invalid 'unexpected file in journal directory' error message.
...
180
2011-03-01 08:05:51 -05:00
dwight
6113b4cd26
change to a faster checksum (old was md5). new is less discriminating but fast.
...
also, now includes the JSectHeader in the checksum.
2011-02-24 13:34:42 -05:00
dwight
73a8cfd0a4
header to cpps from h
2011-02-23 20:51:13 -05:00
Dwight
3b2c66e484
log a little more
2011-02-07 13:12:13 -05:00
dwight
61e35fa749
elim compile warning
2011-02-04 15:06:06 -05:00
dwight
879e5e1b0a
preallocate journal files. some file systems are quite slow otherwise.
2011-02-04 15:02:06 -05:00
dwight
6ecbaca69b
log less
2011-02-02 02:51:54 -05:00
dwight
f7bc0765eb
fixes for new groupCommitMutex
2011-01-22 23:38:44 -05:00
dwight
1f8cb82448
fix a problem with _DEBUG builds only.
...
we have protective code that requires we are in a write lock to write to mongommf's...that code was recently
fixed and made this debug situation manifest.
2011-01-16 11:09:40 -05:00
dwight
2dbe7e6937
SERVER-2320 finish lsn some code was missing
2011-01-09 16:26:33 -05:00
Eliot Horowitz
19f1a2c184
astyle
2011-01-05 00:32:30 -05:00
Mathias Stearn
79e5cbbd57
Recovery uses mmaped files again
2011-01-04 21:02:13 -05:00
Mathias Stearn
0dca1c2332
recoveryJob now knows if doing recovery or WRITETODATAFILES
2011-01-04 20:01:22 -05:00
Eliot Horowitz
b828d21630
ran astyle SERVER-2304
2011-01-04 00:40:41 -05:00
Dwight
7e711d39a2
comment
2011-01-03 12:31:03 -05:00
Mathias Stearn
a4045bc7cc
writev can't write to different offsets
2010-12-28 11:47:33 -05:00
Mathias Stearn
d5f1c31db8
Don't compute md5 in WRITETODATAFILES pass
2010-12-26 14:09:15 -05:00
Mathias Stearn
c76a27e18d
Use File::len()
2010-12-22 02:24:01 -05:00
Mathias Stearn
86216e47f9
Use File::write() rather than mmap in RecoveryJob. This is 20% faster on linux
2010-12-22 01:42:52 -05:00
Mathias Stearn
34c097a9b5
skip switch if < OpCode_Min (faster)
2010-12-21 23:27:19 -05:00
Mathias Stearn
b2a5fb0d9c
Too chatty
2010-12-21 21:23:53 -05:00
Mathias Stearn
42466ac48c
make it possible to avoid replaying durOps
2010-12-21 21:23:53 -05:00
Mathias Stearn
2e8dac2878
lock around critical sections of RecoverJob
2010-12-21 21:23:53 -05:00
Mathias Stearn
cebdea321d
static instance of RecoveryJob
2010-12-21 21:23:53 -05:00
Mathias Stearn
63cbf0d152
move RecoveryJob out to header file
2010-12-21 21:23:52 -05:00
dwight
cd8b0b6c35
dur try to elegantly handle ctrl c during recovery
2010-12-21 02:23:31 -05:00
dwight
6b3bf8eb22
more on seq nums
2010-12-21 01:59:33 -05:00
dwight
678a260283
dur sequence numbers to speed recovery
2010-12-20 22:49:37 -05:00
Mathias Stearn
3d53cd2b45
Refactor recovery code to pull out section processing.
...
Also no longer depend on write Alignment size
2010-12-20 18:33:29 -05:00
Mathias Stearn
cf7a7b7f3b
missing word
2010-12-20 18:33:29 -05:00
Mathias Stearn
0670df6a87
Use normal loop style rather than while(1) + break
2010-12-20 18:33:29 -05:00
Mathias Stearn
9fcb46f038
Manually revert JObjAppendOp stuff
2010-12-20 13:29:58 -05:00
dwight
174f063535
bufreader is a util
2010-12-19 21:16:37 -05:00
dwight
a3f04b6bc0
dur tiny optimization
2010-12-19 13:37:46 -05:00