Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | SERVER-69184 Coverity analysis defect 128686: Using a moved object | Sanika Phanse | 2023-05-12 | 1 | -1/+1 |
| | |||||
* | SERVER-73078 Implement MovePrimaryMetrics | Brett Nawrocki | 2023-03-14 | 1 | -140/+33 |
| | | | | | | | This commit also includes a partial refactor of ShardingDataTransformInstanceMetrics and its children in general, breaking down some elements of monolithic classes into mixins that are more easily composable. | ||||
* | SERVER-73081 Implement MovePrimaryCumulativeMetrics | Brett Nawrocki | 2023-03-04 | 1 | -131/+2 |
| | | | | | | | | | | | This commit also includes a partial refactor of ShardingDataTransformCumulativeMetrics and its children in general, breaking down some elements of monolithic classes into mixins that are more easily composable. Additionally, the ShardingDataTransformMetrics classes have been moved under a metrics subdirectory so that it's clear that they are part of the same subsystem. | ||||
* | SERVER-72197 Run clang-format 12.0.1 on the codebase | clang-format 12.0.1 | 2023-02-11 | 1 | -2/+6 |
| | | | | Signed-off-by: Ryan Egesdahl <ryan.egesdahl@mongodb.com> | ||||
* | SERVER-70115 Resharding Coordinator and Recipient Persist Invalid Start/End ↵ | Adrian Gonzalez | 2023-01-17 | 1 | -0/+8 |
| | | | | Times to State Document | ||||
* | SERVER-70079 Remove optional_util::setOrAdd | Billy Donahue | 2022-09-29 | 1 | -1/+1 |
| | |||||
* | SERVER-68783 Disambiguate 0 time estimate from no estimate in resharding | Brett Nawrocki | 2022-09-01 | 1 | -20/+50 |
| | |||||
* | SERVER-67093: Create the GlobalIndexMetrics class | nandinibhartiyaMDB | 2022-08-18 | 1 | -7/+39 |
| | |||||
* | SERVER-67112 Create ReshardingCumulativeMetrics subclass | Brett Nawrocki | 2022-07-28 | 1 | -22/+39 |
| | |||||
* | SERVER-68246 rewrite calls to boost::optional get and is_initialized | Billy Donahue | 2022-07-27 | 1 | -1/+1 |
| | |||||
* | SERVER-68154 Race in destruction of Resharding metrics can lead to calling ↵ | Randolph Tan | 2022-07-26 | 1 | -1/+8 |
| | | | | pure virtual function | ||||
* | SERVER-67088: Create the FieldNameProvider classes | nandinibhartiyaMDB | 2022-07-14 | 1 | -14/+19 |
| | | | | | Create the base class ShardingDataTransformInstanceMetricsFieldNameProvider & the derived GlobalIndexMetricsFieldNameProvider, ReshardingMetricsFieldNameProvider classes | ||||
* | SERVER-67709 rename visit_helper | Billy Donahue | 2022-07-06 | 1 | -1/+1 |
| | |||||
* | SERVER-67089: Move resharding fields from ShardingDataTransformInstanceMetrics | nandinibhartiyaMDB | 2022-07-01 | 1 | -6/+111 |
| | |||||
* | SERVER-67085 Rename ReshardingMetricsNew to ReshardingMetrics | Randolph Tan | 2022-06-08 | 1 | -0/+295 |
| | |||||
* | SERVER-66422 Switch over to new resharding metrics | Randolph Tan | 2022-06-07 | 1 | -782/+0 |
| | |||||
* | SERVER-65664 Provide more specific types for cache alignment needs | Andrew Morrow | 2022-05-06 | 1 | -4/+4 |
| | |||||
* | SERVER-66203 move MONGO_LOGV2_DEFAULT_COMPONENT defs below includes | Billy Donahue | 2022-05-06 | 1 | -1/+3 |
| | |||||
* | SERVER-64376 Add Parity Recipient Applying Fields in CurrentOp | Brett Nawrocki | 2022-04-21 | 1 | -29/+8 |
| | | | | | | | | Track and report the following fields in ShardingDataTransformInstanceMetrics for resharding $currentOp: oplogEntriesFetched totalApplyTimeElapsedSecs remainingOperationTimeEstimatedSecs | ||||
* | SERVER-61018 Create a generic histogram type | Reo Kimura | 2022-02-25 | 1 | -18/+13 |
| | |||||
* | Revert "SERVER-61018 Create a generic histogram type" | auto-revert-processor | 2022-02-24 | 1 | -13/+18 |
| | | | | This reverts commit 1f1d912e1a65a66c6d0f7a0b4e4ec687007ecd44. | ||||
* | SERVER-61018 Create a generic histogram type | Reo Kimura | 2022-02-23 | 1 | -18/+13 |
| | |||||
* | Revert "SERVER-61018 Create a generic histogram type" | auto-revert-processor | 2022-02-19 | 1 | -13/+18 |
| | | | | This reverts commit 06124a018dd1c6abed0fbda003d214f1c34ece7b. | ||||
* | SERVER-61018 Create a generic histogram type | Reo Kimura | 2022-02-18 | 1 | -18/+13 |
| | |||||
* | SERVER-57766 Omit shardingStatistics.resharding section when resharding ↵ | Matt Boros | 2021-12-16 | 1 | -1/+7 |
| | | | | hasn't been run | ||||
* | SERVER-61473 Make ReshardingMetrics::onCompletion() idempotent. | Max Hirschhorn | 2021-11-15 | 1 | -0/+4 |
| | | | | | ReshardingMetrics::onCompletion() can be called multiple times within the resharding::WithAutomaticRetry blocks of the ReshardingCoordinator. | ||||
* | SERVER-60787 Force alignment with std::aligned_storage not inheritance | Billy Donahue | 2021-10-22 | 1 | -11/+11 |
| | |||||
* | SERVER-59927 Add retry to _restoreMetrics() | Brett Nawrocki | 2021-10-11 | 1 | -19/+18 |
| | | | | | | | | | | | | | | | | | | | | RecipientStateMachine::_restoreMetrics() performs a number of read operations to calculate the number of documents it cloned, oplog entries it fetched, and oplog entries it applied at the beginning of starting to run again. These read operations may be interrupted if the primary steps down shortly after having been stepped up, which eventually leads to an fassert(). Therefore, perform _restoreMetrics() in a resharding::WithAutomaticRetry() block so any transient errors can be automatically retried and synchronized with the stepdown token being canceled. Furthermore, refactor RecipientStateMachine to use new RetryingCancelableOperationContextFactory to ensure that all usages of CancelableOperationContextFactory occur within a resharding::WithAutomaticRetry() block. Additionally, add a test case that will cover the _restoreMetrics() read operations being interrupted. | ||||
* | SERVER-55711 Rename variable which was shadowing parameter | Brett Nawrocki | 2021-09-09 | 1 | -2/+2 |
| | |||||
* | SERVER-57700 Measure latency/throughput of ↵ | Matt Walak | 2021-08-12 | 1 | -19/+35 |
| | | | | resharding::data_copy::fillBatchForInsert in ReshardingCollectionCloner::doOneBatch | ||||
* | SERVER-57697 Measure latency/throughput of ReshardingOplogApplier::_applyBatch | Matt Walak | 2021-08-04 | 1 | -0/+31 |
| | |||||
* | SERVER-58592 Make sure to clear resharding metrics after reshard collection ↵ | Randolph Tan | 2021-08-02 | 1 | -6/+8 |
| | | | | completes. | ||||
* | SERVER-58926 ReshardingDonor should not try to set the stop time of the ↵ | Haley Connelly | 2021-07-29 | 1 | -2/+8 |
| | | | | critical section if it the critical section was already released | ||||
* | SERVER-57761 Increment insert opcounter as part of resharding collection cloning | Haley Connelly | 2021-07-15 | 1 | -7/+19 |
| | |||||
* | SERVER-57276 Capture max/min percent complete in FTDC metrics as seen by the ↵ | Junhson Jean-Baptiste | 2021-07-15 | 1 | -0/+34 |
| | | | | commit monitor | ||||
* | SERVER-58395: Resharding metrics should set donorState/RecipientState to ↵ | Kshitij Gupta | 2021-07-09 | 1 | -2/+4 |
| | | | | kUnused if they are not initialized for currentOp report. | ||||
* | SERVER-57760 Introduce resharding dedicated OpCounters and use them in | Haley Connelly | 2021-07-09 | 1 | -0/+78 |
| | | | | ReshardingOplogApplier | ||||
* | SERVER-53913: ReshardingDonorService instances to load metrics state | Kshitij Gupta | 2021-07-05 | 1 | -1/+17 |
| | | | | upon instantiation. | ||||
* | SERVER-57952 Re-add DonorStateEnum::kPreparingToBlockWrites. | Max Hirschhorn | 2021-06-23 | 1 | -1/+1 |
| | |||||
* | SERVER-57217 Don't report remainingOperationTimeEstimatedSecs in currentOp ↵ | Junhson Jean-Baptiste | 2021-06-22 | 1 | -10/+6 |
| | | | | metrics for resharding for donors and coordinators | ||||
* | Revert "SERVER-57217 Don't report remainingOperationTimeEstimatedSecs in ↵ | Max Hirschhorn | 2021-06-17 | 1 | -6/+10 |
| | | | | | | currentOp metrics for resharding for donors and coordinators" This reverts commit e8f96019646425bc352f09b62d8e86b0e41f5d5b. | ||||
* | SERVER-57217 Don't report remainingOperationTimeEstimatedSecs in currentOp ↵ | Junhson Jean-Baptiste | 2021-06-16 | 1 | -10/+6 |
| | | | | metrics for resharding for donors and coordinators | ||||
* | SERVER-55430 Record metrics about whether a collection is rebalanced after ↵ | Randolph Tan | 2021-06-16 | 1 | -0/+13 |
| | | | | resharding op finishes | ||||
* | SERVER-54960 ReshardingMetrics time smearing (and refactor) | Billy Donahue | 2021-06-14 | 1 | -157/+191 |
| | |||||
* | SERVER-53912: ReshardingRecipientService instances to load metrics state | Kshitij Gupta | 2021-06-11 | 1 | -1/+0 |
| | | | | upon instantiation. | ||||
* | SERVER-57367 Put units on strings used in resharding stats | Randolph Tan | 2021-06-07 | 1 | -5/+5 |
| | |||||
* | SERVER-57331: Expose currentOp metrics so that they can be easily | Kshitij Gupta | 2021-06-04 | 1 | -5/+35 |
| | | | | restored. | ||||
* | SERVER-56499 Start resharding metrics on resharding donors | Randolph Tan | 2021-06-03 | 1 | -2/+2 |
| | |||||
* | SERVER-57153 Support co-existing donors/recipients in resharding metrics | Blake Oler | 2021-06-01 | 1 | -30/+102 |
| | |||||
* | SERVER-56739 Rewrite resharding metrics duration component to allow for ↵ | Blake Oler | 2021-05-20 | 1 | -25/+44 |
| | | | | resuming from stepup |