summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands/validate.cpp
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-73115 Always include tenant in collection name attributes in log linesmathisbessamdb2023-03-301-3/+3
|
* SERVER-74828 Ensure parseResourcePattern creates NamespaceString with tenantIdjannaerin2023-03-221-1/+1
|
* SERVER-74895 Expect command errors in validation when querying $collStatsDianna Hohensee2023-03-161-1/+3
|
* SERVER-74632 Log aggregation results when validate commands fails due to a ↵Dianna Hohensee2023-03-071-0/+74
| | | | validation error
* SERVER-74045 Allow turning on diagnostic log messages for validateGregory Wlodarek2023-02-161-2/+3
|
* SERVER-70743 Make validate command tenant awarejannaerin2022-10-211-4/+8
|
* SERVER-70147 Migrate addRequiredPrivileges to checkAuthForOperationSara Golemon2022-10-051-6/+11
|
* SERVER-68688 Rename `checkBSONConsistency` option to `checkBSONConformance`Yuhong Zhang2022-08-251-14/+14
|
* SERVER-67459 Change BasicCommand to use DatabaseNameSophia Tan2022-08-101-2/+2
|
* SERVER-67520 Add `checkBSONConsistency` option to the validate commandYuhong Zhang2022-07-111-12/+52
|
* SERVER-67520 Update validation commentsYuhong Zhang2022-07-111-0/+2
|
* SERVER-66203 move MONGO_LOGV2_DEFAULT_COMPONENT defs below includesBilly Donahue2022-05-061-1/+3
|
* SERVER-65918 Remove references to `ephemeralForTest`Gregory Noma2022-05-021-9/+0
|
* SERVER-60761 Move the global read-only flag to be an OperationContext functionGregory Wlodarek2022-04-221-2/+2
|
* SERVER-61509 Avoid repairing read-only databasesDaniel Gómez Ferro2021-11-301-2/+11
|
* SERVER-60179 The 'validate' command should return 'InvalidOptions' instead ↵Gregory Wlodarek2021-11-011-6/+6
| | | | of 'CommandNotSupported' for incompatible options
* SERVER-59805 The 'validate' command detects invalid index optionsGregory Wlodarek2021-09-241-0/+9
|
* SERVER-56002 SERVER-56023 Store Collection metadata in the Collection and ↵Henrik Edin2021-05-201-1/+0
| | | | | | | | | | | reply on the copy-on-write machinery to keep it in sync with the durable catalog. All updates to the metadata needs to happen through the Collection, moved interfaces from the DurableCatalog to the Collection. Removed back pointer to Collection in IndexCatalogEntryImpl, interfaces now correctly take a const or non-const Collection. This should make its iterface const-correct to avoid making bugs where the copy-on-write system for Collections are bypassed. Multikey handle is special as it needs to happen without exclusive access to the Collection. Implemented isolation for the Collection metadata when multikey is changed. It handles multi-doc transactions and is only commited to the Collection instance after the write to the durable catalog successfully commits. listCollections and listIndexes can now safetly read the metadata cache without needing to read from the durable catalog making them safe to do without Collection level locks.
* SERVER-53675 Allow validate to fix up multikey metadataLouis Williams2021-01-291-2/+19
| | | | | | | | | | | | This allows foreground validation to fix up the following multikey metadata inconsistencies: * An index is multikey but there are no multikey fields * An index has multikeyPaths covering fields that are not multikey * An index does not have multikeyPaths but there are multikey documents (for pre-3.4 indexes) If any changes were made, a warning is included to the validate output and the 'repaired' flag is set to true.
* SERVER-52609 Append corruptRecords to validate results as an arrayGregory Noma2021-01-131-1/+1
|
* SERVER-47681 do not ignore prepare conflicts on background validationsEric Milkie2020-09-251-1/+1
|
* SERVER-49687 Add flag for validate to repair data in standalone modeShin Yee Tan2020-08-071-4/+31
|
* SERVER-49103 Validate repair mode should fix up missing and extra index entriesShin Yee Tan2020-08-061-21/+1
|
* SERVER-49341 Validate repair mode should delete records that fail BSON ↵Shin Yee Tan2020-07-201-0/+6
| | | | validation
* SERVER-49340 Add repair mode to validate for startup --repairShin Yee Tan2020-07-141-1/+6
|
* SERVER-24165 Validate should report records with invalid BSONShin Yee Tan2020-07-091-0/+7
|
* SERVER-44650 Add new test mode enforeFastCount to foreground validateGregory Noma2020-05-211-6/+19
|
* SERVER-48084 Lint log lines in mongo/db/commandsSara Golemon2020-05-131-1/+1
|
* SERVER-47735 change mongo source over to logv2Billy Donahue2020-04-261-1/+1
| | | | | | - Remove several legacy logger/ files - Convert all MONGO_LOG_DEFAULT_COMPONENT to the LOGV2 version. - Globally replace logger::{LogSeverity,LogComponent} => logv2::
* SERVER-47754 Allow background validation to run on storage engines that do ↵Gregory Wlodarek2020-04-241-14/+13
| | | | not support checkpoints
* SERVER-47658: Improve validate diagnostics, with a focus on multikey failures.Daniel Gottlieb2020-04-241-0/+3
|
* SERVER-45567 removing util/log.h where I canGabriel Russell2020-02-211-1/+0
| | | | | | | o converting some log lines that were missed o fixing some missing includes create mode 100644 src/mongo/transport/ismaster_metrics.cpp
* SERVER-45869 automatically converted structured loggingGabriel Russell2020-02-131-2/+6
|
* SERVER-41965 Change repair to only rebuild indexes on necessary collectionsDaniel Ernst2020-01-301-1/+4
|
* SERVER-43987 Require predicates with ↵Ben Caimano2019-10-171-3/+3
| | | | OperationContext::waitForConditionOrInterrupt()
* SERVER-43317 merge failpoint headers. Rewrite docs.Billy Donahue2019-10-031-1/+1
| | | | iterate docs
* SERVER-43644 Update 'validate' command help messageGregory Wlodarek2019-10-021-3/+6
|
* SERVER-42312 disallow validate cmd during rollback and recovering statesPavithra Vetriselvan2019-09-241-0/+4
|
* SERVER-43574 validate cmd must open oplog collection cursors before ↵Dianna Hohensee2019-09-241-1/+2
| | | | accessing any other collection in the same WT txn
* SERVER-42165 Replace uses of stdx::mutex with mongo::MutexBen Caimano2019-09-171-3/+3
|
* SERVER-43134 Only run background validation on check-pointed tablesGregory Wlodarek2019-09-161-5/+0
|
* SERVER-42357 Periodically release locks during collection validation and ↵Gregory Wlodarek2019-09-131-10/+4
| | | | check for interrupts
* SERVER-43119 FailPoint cleanupBilly Donahue2019-09-101-1/+1
| | | | | | | | | | | - Don't use MONGO_INITIALIZER to declare each fail point. We only need one init task in total: freeze and iterate the registry. - remove MONGO_FAIL_POINT_DECLARE macro (extern) - remove MONGO_FAIL_POINT_SHOULD_FAIL macro (FailPoint::shouldFail) - remove MONGO_FAIL_POINT_BLOCK_IF (FailPoint::executeIf) - remove MONGO_FAIL_POINT_BLOCK (FailPoint::execute) - clean up FailPointRegistry and fail_point_service implementation.
* SERVER-30357 Allow users to run the validate cmd with {background:true}Dianna Hohensee2019-09-051-10/+15
|
* Revert "SERVER-30357 Allow users to run the validate cmd with {background:true}"Dianna Hohensee2019-09-051-15/+10
| | | | This reverts commit e8e3f6ff2604e33e2d7fe1ec56d6559df066a452.
* SERVER-30357 Allow users to run the validate cmd with {background:true}Dianna Hohensee2019-09-051-10/+15
|
* SERVER-42978 Move validate lock acquisition from the cmd body into the ↵Dianna Hohensee2019-08-231-41/+11
| | | | helper function and fix all the unit tests
* SERVER-42768 uassert if the storage engine does not support checkpoints when ↵Gregory Wlodarek2019-08-161-3/+12
| | | | running validate with { background: true }
* SERVER-41772 Apply clang-format 7.0.1 to the codebaseclang-format-7.0.12019-07-271-1/+1
|
* SERVER-42180 Move the CollectionImpl::validate logic out of the Collection ↵Gabe Villasana2019-07-241-2/+3
| | | | class and into it's own file + namespace