Commit Graph

168 Commits

Author SHA1 Message Date
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
dwight
a4c8d5ccaf dur assert if too much is written in one commit group 2011-01-12 10:05:49 -05:00
dwight
d9b92b0f98 lastremap was not being set 2011-01-12 00:01:32 -05:00
dwight
c8be8c7b27 dont use too much memory in private views with dur 2011-01-11 19:10:06 -05:00
dwight
532ebd514a easier to read inline as command can be a single line 2011-01-10 17:01:10 -05:00
Mathias Stearn
31c4e9ab87 Revert "dur try to fix a deadlock issue" (double fix)
This reverts commit 8b7b68a3ec.
2011-01-10 16:31:08 -05:00
dwight
8b7b68a3ec dur try to fix a deadlock issue 2011-01-10 16:17:23 -05:00
Mathias Stearn
5079064a7c Fix deadlock with drainSome() 2011-01-10 15:18:38 -05:00
Mathias Stearn
d1d3df7b12 fix deadlocks 2011-01-10 13:58:15 -05:00
Mathias Stearn
067f9de68e dropDB uses TempDisableDurability rather than DropDbOp 2011-01-10 13:58:15 -05:00
Mathias Stearn
87bb1b5866 fix deadlock between durThreadMutex and dbMutex 2011-01-10 13:58:15 -05:00
Mathias Stearn
a593ed70df TempDisableDurability now does SyncAndTruncate 2011-01-10 13:58:15 -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
Dwight
a5aae27593 shorter 2011-01-06 13:06:34 -05:00
Mathias Stearn
b72cf35438 old boost compile 2011-01-05 20:15:31 -05:00