0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +01:00
Commit Graph

84 Commits

Author SHA1 Message Date
Dwight
4209f5029f make preallocateIfFaster() less noisy. dont want to get unlucky and false indicate it helps especially as it will stay on once it is on. 2011-02-07 12:55:20 -05:00
dwight
221dddb522 dur once prealloc is used keep using it 2011-02-06 11:44:26 -05:00
dwight
a3f7217dd3 only preallocate journal files if it helps 2011-02-05 15:12:55 -05:00
dwight
c823d63168 nicer latency test admin command 2011-02-05 14:17:48 -05:00
dwight
4bee09a920 use odirect (LogFile class) to prealloc, no reason not to, code shorter too 2011-02-05 14:02:28 -05:00
dwight
e26ffc2bd5 more syncing 2011-02-04 16:13:56 -05:00
dwight
bda0272289 add fsync 2011-02-04 15:45:05 -05:00
dwight
bc89eaa511 dos2unix 2011-02-04 15:43:05 -05:00
dwight
0bade7bf8c use fadvise for prealloc 2011-02-04 15:41:58 -05:00
dwight
ba308c26e7 error numbers 2011-02-04 15:03:37 -05:00
dwight
879e5e1b0a preallocate journal files. some file systems are quite slow otherwise. 2011-02-04 15:02:06 -05:00
Mathias Stearn
a072c12c30 LSN file now uses regular File I/O rather than mmap 2011-01-18 19:12:11 -05:00
dwight
95dfd011e6 dont assert on an lsnfile open error. give a better message too 2011-01-15 21:25:14 -05:00
Mathias Stearn
e8a0dc9096 updateLSNFile with _curLogFileMutex held 2011-01-14 18:06:33 -05:00
Mathias Stearn
a39420b655 Remove extra debug info 2011-01-14 17:33:20 -05:00
Mathias Stearn
e419e8c850 Don't let durThread allocate new journal during shutdown 2011-01-14 13:44:21 -05:00
Mathias Stearn
b3ce623097 more debugging info 2011-01-14 00:47:39 -05:00
Mathias Stearn
a11b25979d debugging info for failing tests on bb 2011-01-13 20:06:14 -05:00
Mathias Stearn
d1d3df7b12 fix deadlocks 2011-01-10 13:58:15 -05:00
Mathias Stearn
3625433470 Get rid of tryToCloseCurFile 2011-01-10 13:58:15 -05:00
Mathias Stearn
6d25aae842 rename function 2011-01-10 13:58:14 -05:00
Mathias Stearn
603387986c Comment correction 2011-01-10 13:58:14 -05:00
dwight
2dbe7e6937 SERVER-2320 finish lsn some code was missing 2011-01-09 16:26:33 -05:00
dwight
13b139f6c1 remove _TESTINTENT 2011-01-08 13:22:45 -05:00
Dwight
4f47d79a61 adding some self testing for concurrency. fledgling and will likely
evolve a lot; a first pass.
2011-01-06 13:37:56 -05:00
Eliot Horowitz
b828d21630 ran astyle SERVER-2304 2011-01-04 00:40:41 -05:00
dwight
d4780c6bd4 tweak test 2011-01-02 15:58:42 -05:00
dwight
7a75224d40 old journal files were not aging out 2010-12-30 08:16:32 -05:00
Mathias Stearn
fd6681f26f Stop ignoring failures 2010-12-29 19:32:33 -05:00
Mathias Stearn
20e25e1315 get rid of unlinkThread 2010-12-29 19:25:31 -05:00
Mathias Stearn
497a862491 Comment 2010-12-28 17:13:52 -05:00
dwight
544f3cc836 unused variable 2010-12-27 17:33:36 -05:00
dwight
ff2e487de3 eliminate the lsn thread 2010-12-27 17:01:48 -05:00
dwight
9a8dda83d1 less chatty 2010-12-27 16:00:46 -05:00
dwight
13e0fa9d12 comment 2010-12-27 15:55:35 -05:00
dwight
2a98ef2361 lsnthread shutdown trying to fix still 2010-12-27 15:55:05 -05:00
dwight
99eb5e363e clean lsnThread shutdown 2010-12-27 15:33:52 -05:00
dwight
9472613d04 dur stats 2010-12-27 11:29:16 -05:00
dwight
c648a80fb8 clearer logging 2010-12-24 12:56:25 -05:00
dwight
d5e6b184cd fix size of lsnfile didnt change on the last revision 2010-12-24 11:10:13 -05:00
Dwight
8de039c000 fix ver# 2010-12-23 15:15:40 -05:00
Dwight
b3e392624f in nondebug build dont use lsn during recovery yet to be more conservative. we use in debug build. we also always write. will change after more tests added 2010-12-23 14:57:31 -05:00
Dwight
4f6f8c8239 more of an lsn file 2010-12-23 14:51:18 -05:00
dwight
fef14e03cd clarify error messages 2010-12-22 14:52:27 -05:00
Mathias Stearn
a0151972c1 Disable writting to LSN for now since it doesn't work on linux 2010-12-21 21:23:52 -05:00
dwight
678a260283 dur sequence numbers to speed recovery 2010-12-20 22:49:37 -05:00
dwight
9666cbe807 dur journal file format change in prep for addtl work 2010-12-20 20:24:43 -05:00
Dwight
5a3296db37 dur assure journal files are kept long enough before rotation out 2010-12-20 14:10:43 -05:00
dwight
8d1b7c0ee3 remove comrpessedbuilder 2010-12-20 09:28:19 -05:00
dwight
ec5ff12c53 dur stub out a compressed builder 2010-12-19 19:42:28 -05:00