summaryrefslogtreecommitdiff
path: root/src/mongo/db/pdfile.h
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-6405: re-arranging DataFile, Database and ExtentManager to ↵Eliot Horowitz2013-08-011-24/+2
| | | | encapsulate Extent logic better
* SERVER-6405: lots of prep work for Collection classEliot Horowitz2013-07-181-238/+19
| | | | | splitting pdfile into more components added ExtentManager which should be the only way to do DiskLoc -> Record
* SERVER-10026 fetch limit skip orHari Khalsa2013-07-091-0/+3
|
* namespacestring -> namespace_stringEliot Horowitz2013-07-081-1/+1
|
* split out NamespaceIndex into its own file and clean dependencies a bitEliot Horowitz2013-07-071-1/+0
|
* SERVER-6405: trivial prep cleanup of Database classEliot Horowitz2013-06-181-4/+4
|
* SERVER-9242 Use MONGO_INITIALIZERs to cache blockCheckSupportedTad Marshall2013-04-051-2/+0
| | | | | Only cache values for blockCheckSupported() after the value has been determined (for platforms, i.e. Windows, where this is a runtime test).
* SERVER-8751 Bump pdfile minor version on new index plugin creationMathias Stearn2013-03-051-2/+6
| | | | | | | | | | | | | Changes: 1) Warn on startup if using old minor version and invalid indexes exist. 2) Treat unknown index plugins created under pre-2.4 as ascending 3) When creating first index using new plugins: a) if there are invalid indexes error out b) if not pump the pdfile minor version 4) ScanAndOrder no longer supports index plugins (it never should have) Note: All text and 2dsphere indexes created prior to this commit will need to be rebuilt.
* SERVER-8034 Add version.cpp to the client buildAndrew Morrow2013-01-171-4/+1
|
* commentEliot Horowitz2012-12-191-0/+2
|
* SERVER-2771 Multiple index buildsKristina2012-12-131-0/+18
|
* remove unused methodEliot Horowitz2012-12-101-3/+0
|
* SERVER-7886 - use StringData methods, now .data()Eliot Horowitz2012-12-101-7/+6
|
* Fix Windows warningsTad Marshall2012-12-071-1/+1
| | | | | warning C4099: type name first seen using 'class' now seen using 'struct' warning C4101: unreferenced local variable
* SERVER-3160: Sort index keys during cloneBen Becker2012-12-061-2/+17
|
* SERVER-6980 Skip empty extents in Record::getPrevShaun Verch2012-11-291-4/+24
|
* SERVER-3067 Add killop support for foreground index builds.Aaron2012-11-081-9/+36
|
* SERVER-7439 remove unused parameter and redundant routineTad Marshall2012-10-231-18/+11
| | | | | | | | | Remove the unused 'len' parameter from DataFileMgr::makeDeletedRecord(), make it call MongoDataFile::recordAt() instead of MongoDataFile::makeRecord(). Remove the now-unused MongoDataFile::makeRecord(). Set nextDeleted to Null in Extent::init() for completeness (it would get set when the deleted record was added to a deleted list, so this isn't strictly required). Clean up the code slightly (reinterpret_cast instead of C-style cast).
* add a version of DataFileMgr::deleteRecord that takes a NamespaceDetails if ↵Eliot Horowitz2012-10-141-0/+2
| | | | | | you have already makes some tests 10% faster
* SERVER-6450 - Use ps::Rolling to provide a working-set size estimateEliot Horowitz2012-10-141-0/+2
| | | | db.adminCommand( { serverStatus : 1 , workingSet : 1 } ).workingSet
* SERVER-7289 add inexpensive tests to validate commandTad Marshall2012-10-111-1/+2
| | | | | | | | | | | | | | | Checks added to the validate command: 1) The 'xprev' pointer in each extent in the extent list should point to the previous extent, or be null for the first extent 2) The 'lastExtent' pointer in NamespaceDetails should point to the last extent 3) If an exception is thrown while counting extents, identify the failing extent 4) If an exception is thrown while counting extents, report the count 5) If an exception is thrown while counting extents, the first extent should be validated and the check for 'xprev' in the first extent being null should be done 6) If an invalid signature is found in an extent, report the value found and identify the extent 7) The "self-pointer" 'myLoc' in an extent should be validated 8) The extent size should be compared with Extent::minSize(), not zero
* SERVER-7045 check all extents in validate command, report resultsTad Marshall2012-10-091-4/+1
| | | | | | Move the Extent::validates() routine from pdfile.h to pdfile.cpp, make it return messages for errors it finds, call it for every extent instead of just for the first extent. Check extent DiskLoc against 'myLoc'.
* SERVER-6908 Don't pass strings by valueTad Marshall2012-08-311-1/+1
| | | | | Change lots of code to take <string> arguments by const ref instead of by value; minor changes to surrounding code.
* SERVER-6019 stats for PageFaultExceptionEliot Horowitz2012-06-081-0/+6
|
* move dropIndexes to index_update where it makes more senseEliot Horowitz2012-06-031-2/+0
|
* Rename sayDbContext() to logContext(), and move from util.{h,cpp} to ↵Andy Schwerin2012-05-311-2/+2
| | | | | | | | log.{h,cpp}. Remove now-empty util.h. Work toward SERVER-5702.
* fix compilation again, the correct way this time.Eric Milkie2012-05-171-1/+1
| | | | | We are #defining HANDLE to be an "int" on non-Windows, so we will use that for all platforms' fd file descriptor.
* SERVER-2023 new command "touch" - pretouches a collection, possibly with indexesEric Milkie2012-05-171-1/+1
|
* add Record::blockCheckSupported()Eliot Horowitz2012-05-171-0/+2
|
* add Record::likelyInPhysicalMemory( const char * ) so other people can use ↵Eliot Horowitz2012-05-171-0/+2
| | | | the same data structure
* remove BSONObj::BSONObj( Record* ) in place of BSONObj::make( Record* r ) so ↵Eliot Horowitz2012-05-161-4/+4
| | | | we don't access data in constructor
* pare down pch.h some moreEric Milkie2012-04-051-1/+5
| | | | Moved some things out of pch.h; removed outright some other things.
* make Extent::minSize() match allocation strategy and alloc from free list ↵Eliot Horowitz2012-04-011-1/+1
| | | | obey it
* make Record::touch not call _accessingEliot Horowitz2012-03-301-1/+3
|
* in Record::_accessing throw PageFaultException if allowedEliot Horowitz2012-03-301-1/+1
|
* make records in DeletedRecord privateEliot Horowitz2012-03-301-5/+21
| | | | nextDeleted is ugly because of const issues right now
* make fields in Record privateEliot Horowitz2012-03-301-23/+48
| | | | step towards more PageFaultException work
* replace assert with verify SERVER-1259Eliot Horowitz2012-03-261-14/+14
|
* Fix Visual Studio Solution BuildsAndy Schwerin2012-03-231-1/+1
|
* SCons refactoring, cleans up building and testing the C++ client.Andy Schwerin2012-03-231-8/+10
| | | | | | | | | | | | | | | | | This patch does the following: 1.) Remove pcre.h dependencies in the C++ client, and remove some other unnecessary dependencies. 2.) Clean up how we build the client from the client source tarball, so it's more like how we build it from the git repo / full source tarball. 3.) Fix up our "scons" so you only have to write "scons ." to build all of our binaries, the binary archive (zip or tgz) and client source archive (zip or tgz). 4.) Fix up SCons aliases "core", "tools", and "all". 5.) Let user specify the name of the client tarball via a SCons command line switch. Resolves SERVER-4231, SERVER-5255.
* SERVER-4328 asserts and make code more readabledwight2012-02-131-1/+3
|
* Merge remote branch 'main/master'dwight2012-02-101-1/+1
|\
| * SERVER-4333 add fromMigrate flag to identify sharding oplog entriesEric Milkie2012-02-101-1/+1
| |
* | checkpointdwight2012-01-041-1/+3
| |
* | xdwight2012-01-031-4/+4
|/
* better name is memconcept change itdwight2011-12-301-6/+6
|
* lockconceptdwight2011-12-261-3/+14
|
* bulk move of code to src/ SERVER-4551Eliot Horowitz2011-12-241-0/+546