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

113 Commits

Author SHA1 Message Date
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
Dwight
5aac530120 dur try to fix fileId bug 2011-02-07 13:48:32 -05:00
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