Commit Graph

183 Commits

Author SHA1 Message Date
dwight
a5bf7c89b1 comment 2011-08-01 16:47:56 -04:00
dwight
643c49042f fix 1.9.0 assertion curlogfile==0, dropdb_race.js manifests (rarely) 2011-07-22 12:44:28 -04:00
dwight
41224c8fbf comments 2011-07-09 14:11:42 -04:00
Dwight
add206436e temp stop age out of journal files for backups. backport? 2011-06-21 12:48:31 -04:00
Dwight
fee2092cc0 fix a race bug with mmmutex and dur in particular with closealldatabases 2011-04-29 14:50:41 -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
67fdfce791 fix race condition with experimental setparameter for commitfrequency more work to come later 2011-04-15 14:36:54 -04:00
Dwight
b7b5886d97 configurable commit batch time but this is still experimental 2011-04-08 14:44:26 -04:00
Dwight
4d9e44c1ee validate during commit 2011-04-06 16:40:41 -04:00
Dwight
d8f79a52f2 compact faster 2011-04-05 15:59:45 -04:00
Mathias Stearn
270996933d replace "dur" with "journal" in log messages 2011-04-04 12:15:23 -04:00
Dwight
68d848fe4c towards some actual performance tests 2011-03-25 14:49:00 -04:00
dwight
71edffe0e8 make perftests stats output a little more easy to read 2011-03-20 13:37:25 -04:00
dwight
d69e0d4db8 attempt to fix setNoJournal. it could have been racing with WRITETODATAFILES?
likely should use setNoJournal less...
2011-03-20 11:43:24 -04:00
dwight
638f96c76f Revert "Temp make setNoJournal use journal to try to fix buildbot (or at least isolate the problem)"
This reverts commit 6a494a75b6b25cdd4464a2d1fc9be562ff496e09.
2011-03-20 10:58:36 -04:00
Mathias Stearn
eb68d91dcf line endings 2011-03-19 15:07:28 -04:00
Mathias Stearn
7a494a75b6 Temp make setNoJournal use journal to try to fix buildbot (or at least isolate the problem) 2011-03-18 14:00:16 -04:00
Mathias Stearn
6f262cb07b fix compile 2011-03-18 13:29:51 -04:00
Dwight
13118248cf with this change it is much more likely that a dur write intent issue will be caught
when a test runs.  for example with this, jstests/index_bigkeys.js will fail sometimes
when the right combinations of settings is on herein (_DURABLEDEFAULTON, _DEBUG, and
then it rotates some different scenarios).
2011-03-18 11:12:11 -04:00
dwight
65bc193d30 improve paranoid debug output 2011-03-18 02:45:42 -04:00
dwight
ac0c7d40fc fix attempt for getlasterror fsync true in 1.9 2011-03-15 10:22:11 -04:00
dwight
35f4067078 dur move journal write outside of read lock 2011-03-11 11:36:06 -05:00
Dwight
fd7c357403 comment 2011-03-07 15:26:04 -05:00
Dwight
fd3f3569c0 dur typo in constant 180 2011-03-07 12:19:01 -05:00
Eliot Horowitz
8e7cdd22af dur commitIfNeeded returns if it commited 2011-03-07 12:10:21 -05:00
Dwight
1d972fce78 the same check is done in the lock so if we remove this we eliminate the race condition 2011-03-02 12:45:21 -05:00
dwight
2b05a2fcce faster: groupCommit already catches exceptions 2011-02-24 19:07:44 -05:00
dwight
8b0ba123cc csv output for dbtests perf for easy spreadsheetization 2011-02-23 20:51:04 -05:00
dwight
9bd9f144b3 SERVER-2500 private map was using too much memory on windows 2011-02-15 15:04:12 -05:00
Mathias Stearn
3094a42860 Releasing write lock is implicit commitIfNeeded 2011-02-11 18:39:50 -05:00
dwight
879e5e1b0a preallocate journal files. some file systems are quite slow otherwise. 2011-02-04 15:02:06 -05:00
dwight
e3760e478e report earlycommits in serverStatus, as this could be very important to see if it is
a high number
2011-02-04 12:15:20 -05:00
dwight
b27afb18b8 dur stats are supposed to reset every 3 seconds, not be cumulative 2011-02-02 02:51:55 -05:00
dwight
6b94c09f48 comments 2011-01-28 02:42:13 -05:00
dwight
c3de5e8a1a mispelling 2011-01-26 17:25:08 -08:00
Mathias Stearn
9956662b3a Fix asserts. MongoMMF::open is outside mmmutex so files could be partially opened 2011-01-25 15:06:21 -05:00
Eliot Horowitz
4e3145686e dur debugging 2011-01-25 14:24:19 -05:00
dwight
f7bc0765eb fixes for new groupCommitMutex 2011-01-22 23:38:44 -05:00
dwight
097a82fda9 call shutdown at end of thread to be nice 2011-01-22 21:25:56 -05:00
dwight
3465621cb9 local statics arent thread safe 2011-01-22 20:53:12 -05:00
dwight
76418c81fd fix race condition 2011-01-22 19:57:15 -05:00
dwight
3156a1fb43 better error reporting on groupcommit 2011-01-22 17:11:17 -05:00
dwight
fce353f01c comment 2011-01-19 19:31:44 -05:00
Mathias Stearn
7324c1722a Make sure awaitCommit never blocks forever 2011-01-17 23:00:19 -05:00
Mathias Stearn
e419e8c850 Don't let durThread allocate new journal during shutdown 2011-01-14 13:44:21 -05:00
Mathias Stearn
325b51e25b Get rid of durThreadMutex 2011-01-14 13:44:21 -05:00
dwight
e0ed295611 implement setNoJournal 2011-01-13 22:33:44 -05:00
Mathias Stearn
b4094b20bb get rid of TempDisableDurability and replace with syncDataAndTruncateJournal 2011-01-12 16:16:25 -05:00
Mathias Stearn
06d88a1367 do group commit inside of TempDisableDurability 2011-01-12 16:16:25 -05:00
dwight
0063a97194 dur debug log display of commitIfNeeded missing invocations 2011-01-12 14:03:27 -05:00