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

34903 Commits

Author SHA1 Message Date
Randolph Tan
db4149d0f5 SERVER-24393 Implement ShardingCatalogManagerImpl::assignKeyRangeToZone 2016-07-19 11:38:43 -04:00
Randolph Tan
60822fbcac SERVER-24393 Rename addTagRange to addRangeToZone and return Status 2016-07-19 11:38:32 -04:00
Kyle Suarez
cef83c2fdd SERVER-24766 find command support for views 2016-07-19 11:14:50 -04:00
James Wahlin
97c43492de SERVER-24506 listCollections support for views 2016-07-19 10:10:43 -04:00
Benety Goh
1b0320d123 SERVER-25130 DataReplicator::_waitOnAndResetAll() should not attempt to join null DatabasesCloner 2016-07-19 09:49:36 -04:00
Judah Schvimer
433ffe0574 SERVER-24538 Add small_oplog_rs_initsync_static passthrough to include periodic initial sync members 2016-07-19 09:44:37 -04:00
Leon Zaruvinsky
5f57ee740b SERVER-25011 Add Range Deleter TaskExecutor for cleaning up orphaned ranges 2016-07-18 22:47:45 -04:00
Charlie Swanson
e420c60e6c SERVER-23073 Reliably detect concurrent changes to $out collection.
A $out stage will write to a temporary collection, and then rename into
the target collection. If the original collection is sharded, has its
options changed, or changes its indexes during processing, the
aggregation should fail.

This change removes any race conditions around detecting these changes.
2016-07-18 18:50:58 -04:00
Charlie Swanson
8a487d8469 SERVER-23073 Check if either collection is sharded before renaming.
This was previously checked at the mongos level. This check now also
happens on the mongod.
2016-07-18 18:50:58 -04:00
Esha Maharishi
ec47d51466 SERVER-25133 fix racy conditions in handling addShard from 3.2 mongos 2016-07-18 17:39:14 -04:00
James Wahlin
4d826acb56 Revert "SERVER-24506 listCollections support for views"
This reverts commit bfa627513c.
2016-07-18 11:16:15 -04:00
Spencer T Brody
c970ae123e SERVER-25077 Print the ops that were actually seen when killop.js fails its assert.soon 2016-07-18 11:14:02 -04:00
Kaloian Manassiev
ff441b6607 SERVER-25064 Make mongos upgrade w:1 to w:majority for auth writes
Also extend the auth tests to validate that both variants work.
2016-07-17 12:08:30 -04:00
Kaloian Manassiev
c4f55991f8 SERVER-24721 Use explicit std::set contructor 2016-07-17 12:08:29 -04:00
Benety Goh
3b371e48fa Revert "SERVER-24242 Lock::ParallelBatchWriterMode sets isBatchWriter while in scope"
This reverts commit 0673f9531b.
2016-07-16 18:50:10 -04:00
Benety Goh
612990716a SERVER-25081 SyncTail::oplogApplication() should set minvalid using last optime from replication coordinator instead of last set global timestamp"" 2016-07-16 17:57:57 -04:00
Benety Goh
fa33df95d7 Revert "SERVER-25069 SyncTail::oplogApplication() should set minvalid using last optime from replication coordinator instead of last set global timestamp"
This reverts commit 8db76c3dd2.
2016-07-16 17:57:47 -04:00
Benety Goh
d3a4a9d72b SERVER-25081 DataReplicator should update the global timestamp at the end of each batch and when initial sync completes 2016-07-16 15:37:15 -04:00
Benety Goh
31d1c5473e SERVER-25069 added Timestamp::toBSON() 2016-07-16 15:25:56 -04:00
Benety Goh
85e279d12c SERVER-25069 CollectionCloner accepts db worker thread pool at construction 2016-07-16 12:27:53 -04:00
Andrew Morrow
88f4b9ac32 SERVER-18399 Fix clang builds broken by automation aware shell 2016-07-16 09:32:52 -04:00
Benety Goh
098d5a1198 SERVER-25069 DatabaseCloner accepts db worker thread pool at construction 2016-07-16 07:52:31 -04:00
Mathias Stearn
dcb0d3fe64 SERVER-24242 Parallelize oplog writing on secondaries 2016-07-15 20:02:18 -04:00
Mathias Stearn
29a2e0352d SERVER-24242 Start writing the Oplog on secondaries while divvying up work
This means we hold the PBW lock while in fillWriterVectors, but it also lets
us start doing useful work sooner.
2016-07-15 20:02:18 -04:00
Mathias Stearn
0673f9531b SERVER-24242 Lock::ParallelBatchWriterMode sets isBatchWriter while in scope 2016-07-15 20:02:18 -04:00
Benety Goh
8db76c3dd2 SERVER-25069 SyncTail::oplogApplication() should set minvalid using last optime from replication coordinator instead of last set global timestamp 2016-07-15 19:46:16 -04:00
Andrew Morrow
08ef5eefb5 SERVER-18399 Issue a notification in the shell when automation is active
Also provides a new setParameter to configure the automation name
to be returned in an isMaster reply.
2016-07-15 18:10:22 -04:00
Benety Goh
292d84272b SERVER-25069 DatabasesCloner accepts db worker thread pool at construction 2016-07-15 16:42:38 -04:00
Scott Hernandez
e567346a1c SERVER-23750: check the dbcloners before using it. 2016-07-15 14:58:47 -04:00
Scott Hernandez
06cf8eb3aa SERVER-23750: use the same syncSource HostAndPort for each initial sync attempt. 2016-07-15 14:58:47 -04:00
Scott Hernandez
147bb01a0a re-enable replsets/auth1.js test 2016-07-15 14:58:47 -04:00
Scott Hernandez
d3b87b8001 SERVER-23750: do sleep after we decide to retry 2016-07-15 14:58:47 -04:00
Scott Hernandez
43fa5a0698 SERVER-23750: reset initial sync attempt status for each attempt. 2016-07-15 14:58:47 -04:00
Benety Goh
c6edb20272 SERVER-25069 data replicator should not obtain storage interface from service context. 2016-07-15 14:29:31 -04:00
James Wahlin
bfa627513c SERVER-24506 listCollections support for views 2016-07-15 14:00:40 -04:00
Jason Carey
e39a2a87ea SERVER-25006 asio indicateUsed != indicateSuccess
Connection Pool ASIO connects indications of success with indications of use, which causes the
underlying connection pool to assume a connection is fresher than it may actually be (we said we did
IO, but actually we just haven't caused an error).

Because the connection pool it self checks connections out, marks them ok and then checks them back
in to trigger a refresh, this causes connections to always seem fresh, never be heartbeated and
never check against minConnections for dropping.

Change indicateSuccess to not also mean indicateUsed in conn pool asio and call indicateUsed where
needed manually in the one location where it's relevant.
2016-07-15 13:56:13 -04:00
iwysiu
4ad76a3384 SERVER-25078 add jstestfuzz_concurrent_sharded_WT suite 2016-07-15 13:38:31 -04:00
Max Hirschhorn
75be5358d7 SERVER-24462 Record stats for the "top" command in findAndModify. 2016-07-15 13:31:18 -04:00
Benety Goh
556453af1e SERVER-25069 added DataReplicatorExternalState::getDbWorkThreadPool() 2016-07-15 11:41:16 -04:00
Benety Goh
0540efd238 SERVER-25069 added ReplicationCoordinatorExternalState::getDbWorkThreadPool() 2016-07-15 11:00:27 -04:00
James Wahlin
e5e2ecb49d SERVER-17275 Remove 'stats' field from distinct command response 2016-07-15 08:49:42 -04:00
Dan Pasette
1e43882994 Revert "SERVER-22734 add Enterprise to version in enterprise shell builds"
This reverts commit 472ac6b5bc.
2016-07-15 00:19:20 -04:00
David Storch
5e504b81ab SERVER-24508 DocumentComparator and ValueComparator
- Changes the Document/Value library to require comparisons
   to be made in the context of a comparator object. This is
   prep work for full collation support in the aggregation
   system.
 - Adds injectExpressionContext() to propagate the
   ExpressionContext containing the comparator object to all
   DocumentSource, Accumulator, and Expression instances
   involved in the Pipeline.
2016-07-14 23:41:20 -04:00
Kaloian Manassiev
751f67f4a6 SERVER-25072 Fix integer division truncation error in BalancerPolicy 2016-07-14 19:22:22 -04:00
Randolph Tan
fb5ef7d261 SERVER-25049 loadClusterId should not cause an fassert on shutdown 2016-07-14 16:35:27 -04:00
Esha Maharishi
2ea2c7700d SERVER-22660 OpObserver on config server for inserts to config.shards from old mongos 2016-07-14 16:32:10 -04:00
Severyn Kozak
af5daa5150 SERVER-25074 make performance analysis run with log analysis 2016-07-14 16:22:22 -04:00
Charlie Swanson
a8414a21ef SERVER-25054 Error if aggregation uses text score without text search. 2016-07-14 16:18:39 -04:00
Charlie Swanson
7050c2613b SERVER-24640 Implement getDependencies for $facet stage. 2016-07-14 16:18:38 -04:00
Kyle Suarez
cd91000e5f SERVER-24766 aggregation support for views
Users can now run the aggregate command on a view, which will resolve the view
to the appropriate collection and run a modified aggregation.
2016-07-14 16:04:29 -04:00