summaryrefslogtreecommitdiff
path: root/src/mongo/db/repair_database.cpp
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-30827 SERVER-30639 Timestamp bulk writes via changes to optime generatorEric Milkie2017-09-121-1/+7
|
* SERVER-30081: Run storage recovery at startup.Daniel Gottlieb2017-08-151-10/+32
|
* SERVER-30337 DatabaseHolder::close() flushes UUID catalogBenety Goh2017-07-271-8/+0
|
* SERVER-27992 Use UUIDs for replicationGeert Bosch2017-06-231-1/+11
|
* SERVER-29088 Cache uuid in Collection class to fix perf regressionGeert Bosch2017-05-081-1/+2
|
* SERVER-25694 Eliminate race in PlanExecutor cleanup.Charlie Swanson2017-04-131-1/+1
| | | | | | | | | | | Ensures that a collection lock is held in at least MODE_IS while deregistering a PlanExecutor from the cursor manager. Introduces new PlanExecutor::dispose() and ClientCursor::dispose() methods that must be called before destruction of those classes, and ensures they are called before destruction. These calls will thread an OperationContext all the way through to DocumentSource::dispose() for each stage in a Pipeline, which will give DocumentSourceCursor a chance to acquire locks and deregister its PlanExecutor if necessary.
* SERVER-27938 Rename all OperationContext variables to opCtxMaria van Keulen2017-03-071-27/+27
| | | | | | This commit is an automated rename of all whole word instances of txn, _txn, and txnPtr to opCtx, _opCtx, and opCtxPtr, respectively in all .cpp and .h files in src/mongo.
* SERVER-26514 Create command should take idIndex optionTess Avitabile2016-10-241-1/+1
|
* SERVER-26659 only use stricter key pattern validation for v:2 or new index ↵David Storch2016-10-201-5/+7
| | | | | | | | | builds This now follows the same rules which we will use in 3.4 for rejecting unknown top-level options in the index spec. These rules ensure a smooth upgrade, even in the presence of bad index metadata produced on an older server version.
* SERVER-24033 Write full index spec in oplog entry for index creation.Max Hirschhorn2016-09-141-2/+30
| | | | | | | | | | | | | | | This ensures that the index version (aka the "v" field) is always present in the oplog entry when creating indexes on a 3.4 primary. We can therefore assume that if the "v" field isn't present in the corresponding oplog entry, then a v=1 index should be built. Changes MultiBlockIndex::init() to return the index specifications that were actually created. The "repairDatabase", "compact", "copydb", and "cloneCollection" commands no longer automatically upgrade the index version to the current default version. Instead, the only command that does so is the "reIndex" command.
* SERVER-25159 Default BSON validation version should depend on ↵Tess Avitabile2016-09-021-1/+3
| | | | admin.system.version
* SERVER-24991 log redaction for sharding, repl filesRamon Fernandez2016-08-291-1/+1
|
* SERVER-23971 Clang-Format codeMark Benvenuto2016-05-281-5/+8
|
* SERVER-20507 Make Database objects iterableMathias Stearn2015-09-181-5/+1
|
* SERVER-20213 fixed lintBenety Goh2015-09-171-1/+1
|
* SERVER-20213 Repair must make majority reads wait for complete visibilityMathias Stearn2015-09-171-14/+28
|
* SERVER-19708: Move RecordCursor::seekExact to derived SeekableRecordStore classGeert Bosch2015-08-281-1/+1
|
* SERVER-17364 Don't stash RecoveryUnits across getMoresMathias Stearn2015-07-161-1/+1
| | | | | | | We now tell PlanExecutors to detach from their OperationContexts and to shed all storage engine resources before stashing the ClientCursor. This is a heavier weight operation than a normal save/restoreState which is no longer allowed to change the OperationContext.
* SERVER-18579: Clang-Format - reformat code, no comment reflowMark Benvenuto2015-06-201-158/+159
|
* SERVER-17308 Replace boost::scoped_ptr<T> with std::unique_ptr<T>Andrew Morrow2015-06-101-3/+2
|
* SERVER-16444 New API for navigating RecordStoresMathias Stearn2015-06-091-7/+6
|
* SERVER-18227 Add a mechanism to disable document validation and start using itMathias Stearn2015-05-081-1/+2
| | | | This does not necessarily cover all places that need to disable validation.
* Better repair for WTMathias Stearn2015-01-151-6/+14
| | | | | | | | | | | | | * Doesn't construct RecordStores or indexes before they've been repaired * No longer need to skip checking index versions. * Updates numRecords and dataSize after the repair. Related issues: SERVER-16817 Skip checking index versions in WT during --repair SERVER-16172 --repair fails before repairing collections in WT A call to flushAllFiles is commented out due to SERVER-16869. Resolving it should uncomment that line.
* SERVER-13256 Add usings and qualifications for names from namespace stdAndrew Morrow2015-01-151-0/+4
|
* SERVER-16502: make getCollection const and not require an OpContextScott Hernandez2015-01-021-2/+2
|
* SERVER-16502: open database after repair is doneScott Hernandez2015-01-021-7/+20
|
* SERVER-16502: don't init Collections lazilyScott Hernandez2015-01-021-1/+1
|
* SERVER-16173 Rewrite repair for KVEnginesMathias Stearn2014-12-081-0/+223
|
* SERVER-13635: remove path concept from DatabaseHolder, and move repair and ↵Eliot Horowitz2014-06-181-476/+0
| | | | listDatabase into storageEngine
* SERVER-13635: remove all non storage callers to flushAllEliot Horowitz2014-06-181-2/+3
|
* SERVER-13961 Convert most usages of LockState from TLS to OperationContextKaloian Manassiev2014-06-131-1/+1
|
* SERVER-13797 Remove Client::getContext and relatedKaloian Manassiev2014-06-101-3/+3
|
* SERVER-13961 Remove all 'checking' variants of dbHolderKaloian Manassiev2014-06-021-4/+10
| | | | | | All places which call dbHolder are verifiably under the appropriate lock, so there is no need to do checking. This allows for the Lock::isLocked check to be removed from there.
* SERVER-13641 Plumb OperationContext through to getCollection and all HelpersMathias Stearn2014-05-301-1/+1
|
* SERVER-13961 Pass LockState to DBWrite and DBRead directlyKaloian Manassiev2014-05-301-1/+1
| | | | | This is part of the changes to move LockState be part of OperationContext and not retrieved from TLS.
* Revert "SERVER-13961 Pass LockState to DBWrite and DBRead directly"Kaloian Manassiev2014-05-281-1/+1
| | | | This reverts commit 0672061deb58aac931912bed68d014247c581968.
* SERVER-13961 Pass LockState to DBWrite and DBRead directlyKaloian Manassiev2014-05-281-1/+1
| | | | | This is part of the changes to move LockState be part of OperationContext and not retrieved from TLS.
* SERVER-13637: add CollectionCatalogEntry, start Database layerEliot Horowitz2014-05-191-0/+1
|
* SERVER-13641 remove recovery unit passthroughs from operationcontextHari Khalsa2014-05-151-4/+4
|
* SERVER-13641 rename TransactionExperiment to OperationContextHari Khalsa2014-05-151-3/+3
|
* SERVER-13922 remove dbtemprelease from non-repl remaining spotsHari Khalsa2014-05-141-1/+0
|
* SERVER-13643 Plumb TransactionExperiment through repairDatabaseMathias Stearn2014-04-301-18/+20
|
* SERVER-13739: don't delete new files until as late as possible during repairEliot Horowitz2014-04-301-6/+17
|
* SERVER-13641 move dur above index layerHari Khalsa2014-04-291-1/+1
|
* SERVER-13643 Move Txn pluming above Database and CollectionMathias Stearn2014-04-291-3/+5
|
* SERVER-13084: remove Client::database and make many things not use thread ↵Eliot Horowitz2014-04-171-3/+0
| | | | local versions
* SERVER-13084: move iterator into record layerEliot Horowitz2014-04-101-3/+2
|
* check for interrupt in outer loop of repair commandEric Milkie2014-03-101-0/+2
|
* SERVER-8412 clean up intmax_tEric Milkie2014-02-191-5/+5
|
* SERVER-8412: fix repair database failure cleanupEliot Horowitz2014-02-191-7/+35
|