Mathias Stearn
|
172fb439ab
|
Fix diskfull tests by bypassing journal free space check at startup
|
2011-11-30 12:22:36 -05:00 |
|
dwight
|
7ef279946c
|
fix gcc warning so buildbot is happy
|
2011-11-29 17:25:09 -05:00 |
|
Mathias Stearn
|
901ff0fa29
|
Abort on startup if insufficient disk space for journal files SERVER-4139
|
2011-11-29 13:38:56 -05:00 |
|
Mathias Stearn
|
a3b0412abe
|
pull out journal prealloc constants
|
2011-11-29 13:36:32 -05:00 |
|
Dwight
|
96eb641a69
|
better logging on a fatal journalingFailure
|
2011-11-16 14:21:47 -05:00 |
|
Dwight
|
710c4d5236
|
log less
|
2011-10-06 14:01:05 -04:00 |
|
Dwight
|
b12de69636
|
various mutex cleanup. fix a bug with recursive lock of nonrecursive mutex. detect recursion with SimpleMutex. use SimpleMutex.
|
2011-10-03 18:14:34 -04:00 |
|
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
|
ce0d640197
|
turn off ageout code for now as implementation is unfinished
|
2011-09-04 14:08:33 -04:00 |
|
Dwight
|
48977d2abc
|
merge
|
2011-08-17 16:55:13 -04:00 |
|
Mathias Stearn
|
ee938e39a1
|
Use LSN file outside of DEBUG mode
|
2011-08-10 17:47:21 -04:00 |
|
dwight
|
6f6ba51e04
|
dbtests was broken on windows debug build after _rotate call change
|
2011-08-10 06:54:39 -04:00 |
|
gregs
|
5833aa3be3
|
add hidden --nopreallocj option to turn off journal preallocation
|
2011-08-03 17:11:16 -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 |
|
dwight
|
c716fa537d
|
journal compression. the write half of the work.
|
2011-08-02 02:39:04 -04:00 |
|
Mathias Stearn
|
bf4a31eef0
|
Rotation is now an internal detail of the jouurnal code called automatically on every commit SERVER-3412
|
2011-08-01 19:14:03 -04:00 |
|
Mathias Stearn
|
b4f185e7de
|
Truncate journal files to 1GB before recycling for prealloc SERVER-3412
|
2011-08-01 19:14:03 -04:00 |
|
Mathias Stearn
|
d3ff333690
|
journalRotate inside groupCommit not durThread SERVER-3412
|
2011-08-01 19:14:03 -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 |
|
Eliot Horowitz
|
46352846f5
|
don't use direct io for cleaning journal files
causing file io errors and a small write so should be fine
|
2011-07-25 01:35:13 -04:00 |
|
Dwight
|
3b8380de65
|
add some race condition checking on _DEBUG builds
|
2011-07-20 14:24:26 -04:00 |
|
dwight
|
b454e1563f
|
crlf
|
2011-07-01 11:25:48 -04:00 |
|
dwight
|
b61fb234ca
|
make journal files smaller on OS X as that is probably a developer box not a server
|
2011-06-27 10:15:53 -04:00 |
|
Eliot Horowitz
|
3a77049fda
|
net cleaning: message split checkpoint where everything works
|
2011-06-26 18:11:45 -04:00 |
|
Eliot Horowitz
|
0594b8a6ab
|
net cleaning: starting to split up message.h
|
2011-06-26 17:56:43 -04:00 |
|
Eliot Horowitz
|
142a86b237
|
net cleaning: move message.* to net/
net cleaning: move http tools to net/
|
2011-06-26 17:13:54 -04:00 |
|
Dwight
|
add206436e
|
temp stop age out of journal files for backups. backport?
|
2011-06-21 12:48:31 -04:00 |
|
dwight
|
4d5715086f
|
clean up nonce implementation
|
2011-06-05 18:13:18 -04:00 |
|
dwight
|
2692ba8b46
|
comment
|
2011-05-05 21:05:37 -04:00 |
|
Dwight
|
0204864394
|
fix journal recovery for case when lsn file is zero bytes long
|
2011-04-28 13:36:22 -04:00 |
|
Eliot Horowitz
|
6598de2039
|
better error message
|
2011-04-25 19:34:25 -04:00 |
|
dwight
|
43e19abd09
|
use smaller journal files with --smallfiles option
|
2011-04-18 19:16:08 -04:00 |
|
Dwight
|
94f581c1a1
|
less chatty
|
2011-04-18 12:37:34 -04:00 |
|
Mathias Stearn
|
270996933d
|
replace "dur" with "journal" in log messages
|
2011-04-04 12:15:23 -04:00 |
|
Dwight
|
038a1e7043
|
dur prealloc - this should be better/safer
|
2011-03-18 11:31:28 -04:00 |
|
Dwight
|
93eec9b91e
|
prealloc files content
|
2011-03-18 11:25:27 -04:00 |
|
Mathias Stearn
|
4cea18515c
|
bump journal prealloc block size to 1MB and don't use direct IO for >5X speedup
|
2011-03-18 04:23:56 -04:00 |
|
Mathias Stearn
|
56e97eb893
|
ensure preallocated journal is zeroed out 181?
|
2011-03-18 04:23:56 -04:00 |
|
Mathias Stearn
|
a7727d9c5e
|
ProgressMeter for journal prealloc 181?
|
2011-03-16 15:21:36 -04:00 |
|
Mathias Stearn
|
f14bb06850
|
flush directories where needed SERVER-2763
|
2011-03-15 16:27:12 -04:00 |
|
Eliot Horowitz
|
f26b64b49a
|
use File for pre-allocating journal since its much faster
|
2011-03-10 11:50:40 -05:00 |
|
Mathias Stearn
|
4115af00a8
|
Open a journal file on startup 180
|
2011-03-09 17:20:02 -05:00 |
|
Mathias Stearn
|
e92bdfba29
|
Don't rotate and open a journal file if one isn't already opened SERVER-2655 180
|
2011-03-09 15:16:38 -05:00 |
|
Dwight
|
e6d2aa60e5
|
more conservative preallocateIsFaster check
|
2011-03-07 15:28:36 -05:00 |
|
dwight
|
0fe9db187a
|
clarify confusing log line
|
2011-03-01 21:20:34 -05:00 |
|
Dwight
|
622b8aee41
|
preallocateIsFaster check can be slow. change order to avoid when possible. also, log if it is slow so one knows what the delay is about. 181?
|
2011-03-01 14:45:31 -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
|
9996ea0734
|
move some code from h to cpp file - our convention is longer methods generally go in the cpp
|
2011-02-23 20:51:11 -05:00 |
|