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

13382 Commits

Author SHA1 Message Date
Mathias Stearn
d2c770380f Revert "Add += and -= operators to AtomicUInt"
This reverts commit 06f6eec33d.
2011-05-07 00:46:01 -04:00
dwight
a5b1570b4f avoid potential race conditions with ReplSet::startupStatusMsg 2011-05-06 22:08:09 -04:00
dwight
641e11524c Merge branch 'master' of github.com:mongodb/mongo 2011-05-06 20:51:13 -04:00
dwight
2e4f101dab defensive 2011-05-06 20:51:06 -04:00
Mathias Stearn
06f6eec33d Add += and -= operators to AtomicUInt 2011-05-06 19:40:18 -04:00
Mathias Stearn
c25588e030 fix condition and make normal assert 2011-05-06 19:37:59 -04:00
Mathias Stearn
04ac31d075 fix _DEBUG builds 2011-05-06 19:14:42 -04:00
Mathias Stearn
8e216ef190 Don't need to lock in ChunkManager anymore except for distlock in drop() 2011-05-06 19:01:04 -04:00
Mathias Stearn
bb0873d14c All members of ChunkManager are now const (except for mutable locks) 2011-05-06 19:01:04 -04:00
Mathias Stearn
24cd932f3e Make ChunkManager::_load and _isValid use passed-in maps 2011-05-06 19:01:04 -04:00
Mathias Stearn
0ca8059539 Chunk doesn't need shared_from_this anymore 2011-05-06 19:01:04 -04:00
Mathias Stearn
e15ca90662 Don't need reloadRange anymore 2011-05-06 19:01:04 -04:00
Mathias Stearn
7e1a3ab554 ChunkPtr and ChunkManagerPtr can now point to const objects. Woohoo! 2011-05-06 19:01:04 -04:00
Mathias Stearn
50a0115bd2 ChunkManager::createFirstChunk shouldn't modify this 2011-05-06 19:01:03 -04:00
Mathias Stearn
708f76bc60 Move Chunk::unserialize into constructor 2011-05-06 19:01:03 -04:00
Mathias Stearn
71f5dd3d5e remove no-op test. Necessary for but separate from next commit 2011-05-06 19:01:03 -04:00
Mathias Stearn
28e399333b Remove support for pre 1.6 chunk format 2011-05-06 19:01:03 -04:00
Mathias Stearn
596d71e61d set _dataWritten in initializer 2011-05-06 19:01:03 -04:00
Mathias Stearn
d9e87d1099 make almost all public Chunk and ChunkManager methods const 2011-05-06 19:01:03 -04:00
Mathias Stearn
6ccfff789a inline and remove _reload_in_lock 2011-05-06 19:01:03 -04:00
Mathias Stearn
7cf37b75c3 Don't use _reload_inlock here 2011-05-06 19:01:03 -04:00
Mathias Stearn
fafe6cb761 ChunkManger::reload() helper 2011-05-06 19:01:03 -04:00
dwight
58f9b93b07 Merge branch 'master' of github.com:mongodb/mongo 2011-05-06 17:57:50 -04:00
dwight
b596d0feea defensive SERVER-3032 replSetGetStatus not a fix but helps a little 2011-05-06 17:57:40 -04:00
gregs
9c79d5735d no volatile reqd for 64-bit systems SERVER-2940 2011-05-06 17:42:00 -04:00
dwight
2ac6dbcf63 SERVER-3052
mitigate overlogging in profile for multi updates.  more work to be done we still need to
show in profile total nscanned and the number which were fastmod'd so not finished do
not close case yet
2011-05-06 17:30:24 -04:00
dwight
a9faaa2b08 elim warnings on visualc++ and a couple asserts 2011-05-06 17:07:32 -04:00
Kristina
0c5c2b49d2 fix test 2011-05-06 16:04:43 -04:00
Mathias Stearn
d0dd292694 Fix linux32-debug buildbot 2011-05-06 15:21:22 -04:00
Mathias Stearn
c119c015fe Can't use basicInsert here unqualified 2011-05-06 15:21:22 -04:00
gregs
aa13edaae8 check spherical earth query bounds SERVER-2980 2011-05-06 13:31:26 -04:00
Mathias Stearn
be124009c2 Don't call into ChunkMangager while holding the DBConfig lock 2011-05-06 13:36:24 -04:00
Mathias Stearn
d24985a99a Start counting at 1 2011-05-06 13:36:24 -04:00
Kristina
360a8eadfe added ability to partition replica sets for testing 2011-05-06 13:26:37 -04:00
Mathias Stearn
c9b29b3418 fix condition 2011-05-06 11:55:43 -04:00
Kristina
4f2d95933c fix test 2011-05-06 10:50:44 -04:00
Kristina
ecdef30666 don't allow switching from localhost to hostname 2011-05-06 10:43:45 -04:00
Mathias Stearn
80d6f91f19 Don't return Chunk up stack after ChunkMangagerPtr goes out of scope 2011-05-05 22:52:10 -04:00
Mathias Stearn
791717764d Move chunk obj counting into mongod.
Was segfaulting because newChunk->_master could become dangling
2011-05-05 22:52:10 -04:00
Mathias Stearn
032f6fcc64 more const for clarity 2011-05-05 22:52:10 -04:00
dwight
2692ba8b46 comment 2011-05-05 21:05:37 -04:00
Aaron
32627bd705 clear wasserts in test setup that were causing errors in dd builds 2011-05-05 16:07:40 -07:00
Eliot Horowitz
f3eaa8b804 remove _reload 2011-05-05 18:01:37 -04:00
Eliot Horowitz
dbe76163c5 don't update your own config on a split 2011-05-05 18:01:37 -04:00
Eliot Horowitz
d41794452a cleaning moveIfShould 2011-05-05 18:01:37 -04:00
gregs
f8b214bdc3 far is VC++ keyword 2011-05-05 15:43:42 -04:00
Dwight
d74aa3e41c Merge branch 'master' of github.com:mongodb/mongo 2011-05-05 14:09:13 -04:00
Dwight
1bce317d2c add BinData to the Key class 2011-05-05 14:09:07 -04:00
gregs
d71d5f1b9f compile please 2011-05-05 13:43:59 -04:00
Kristina
2e7a28c0d7 synchronize stepdowns with writes SERVER-2882 2011-05-05 12:42:32 -04:00