Commit Graph

207 Commits

Author SHA1 Message Date
dwight
fdb9da460c logging troubleshooting 2011-12-01 11:52:59 -05:00
dwight
b21948360c debugging 2011-11-30 12:04:48 -05:00
dwight
d4a1ee84a5 comment 2011-11-29 23:12:58 -05:00
dwight
c15a488aa9 logging for journaling at higher trace log levels 2011-11-12 15:56:41 -05:00
Dwight
a6a6f694d2 comments 2011-10-24 17:56:19 -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
Mathias Stearn
cd335640b6 Don't destroy CommitJob. Causing stackdump after shutdown 2011-09-26 12:18:50 -04:00
dwight
828ad7b5ff utilize two step index insertion with record insert code 2011-09-12 23:22:19 -04:00
dwight
ce0d640197 turn off ageout code for now as implementation is unfinished 2011-09-04 14:08:33 -04:00
Dwight
623010e04b Merge branch 'master' of github.com:mongodb/mongo
Conflicts:
	db/db.vcxproj
	dbtests/test.vcxproj
2011-08-29 15:43:13 -04:00
dwight
dfd532e631 SERVER-2506 wasnt looping quite enough on journal commit checks 2011-08-19 20:11:05 -04:00
Dwight
48977d2abc merge 2011-08-17 16:55:13 -04:00
Mathias Stearn
e4a084bdab samePartition should default to false as it is safer 2011-08-17 14:47:40 -04:00
Mathias Stearn
e9759a516c localized fix for SERVER-3623. Broader fix is SERVER-3632 2011-08-17 14:47:40 -04:00
dwight
fcf1abff40 SERVER-2506 journal faster if a j:1 pending 2011-08-10 06:54:42 -04:00
dwight
6f6ba51e04 dbtests was broken on windows debug build after _rotate call change 2011-08-10 06:54:39 -04:00
Mathias Stearn
bbee2207be Don't do commitIfNeeded when not writeLocked SERVER-3553 2011-08-09 13:42:24 -04:00
dwight
345793af4d SERVER-2506 configurable journal batch commit time 2011-08-08 09:06:19 -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
d3ff333690 journalRotate inside groupCommit not durThread SERVER-3412 2011-08-01 19:14:03 -04:00
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
3b8380de65 add some race condition checking on _DEBUG builds 2011-07-20 14:24:26 -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