Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | SERVER-6405: re-arranging DataFile, Database and ExtentManager to ↵ | Eliot Horowitz | 2013-08-01 | 1 | -24/+2 |
| | | | | encapsulate Extent logic better | ||||
* | SERVER-6405: lots of prep work for Collection class | Eliot Horowitz | 2013-07-18 | 1 | -238/+19 |
| | | | | | splitting pdfile into more components added ExtentManager which should be the only way to do DiskLoc -> Record | ||||
* | SERVER-10026 fetch limit skip or | Hari Khalsa | 2013-07-09 | 1 | -0/+3 |
| | |||||
* | namespacestring -> namespace_string | Eliot Horowitz | 2013-07-08 | 1 | -1/+1 |
| | |||||
* | split out NamespaceIndex into its own file and clean dependencies a bit | Eliot Horowitz | 2013-07-07 | 1 | -1/+0 |
| | |||||
* | SERVER-6405: trivial prep cleanup of Database class | Eliot Horowitz | 2013-06-18 | 1 | -4/+4 |
| | |||||
* | SERVER-9242 Use MONGO_INITIALIZERs to cache blockCheckSupported | Tad Marshall | 2013-04-05 | 1 | -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 creation | Mathias Stearn | 2013-03-05 | 1 | -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 build | Andrew Morrow | 2013-01-17 | 1 | -4/+1 |
| | |||||
* | comment | Eliot Horowitz | 2012-12-19 | 1 | -0/+2 |
| | |||||
* | SERVER-2771 Multiple index builds | Kristina | 2012-12-13 | 1 | -0/+18 |
| | |||||
* | remove unused method | Eliot Horowitz | 2012-12-10 | 1 | -3/+0 |
| | |||||
* | SERVER-7886 - use StringData methods, now .data() | Eliot Horowitz | 2012-12-10 | 1 | -7/+6 |
| | |||||
* | Fix Windows warnings | Tad Marshall | 2012-12-07 | 1 | -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 clone | Ben Becker | 2012-12-06 | 1 | -2/+17 |
| | |||||
* | SERVER-6980 Skip empty extents in Record::getPrev | Shaun Verch | 2012-11-29 | 1 | -4/+24 |
| | |||||
* | SERVER-3067 Add killop support for foreground index builds. | Aaron | 2012-11-08 | 1 | -9/+36 |
| | |||||
* | SERVER-7439 remove unused parameter and redundant routine | Tad Marshall | 2012-10-23 | 1 | -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 Horowitz | 2012-10-14 | 1 | -0/+2 |
| | | | | | | you have already makes some tests 10% faster | ||||
* | SERVER-6450 - Use ps::Rolling to provide a working-set size estimate | Eliot Horowitz | 2012-10-14 | 1 | -0/+2 |
| | | | | db.adminCommand( { serverStatus : 1 , workingSet : 1 } ).workingSet | ||||
* | SERVER-7289 add inexpensive tests to validate command | Tad Marshall | 2012-10-11 | 1 | -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 results | Tad Marshall | 2012-10-09 | 1 | -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 value | Tad Marshall | 2012-08-31 | 1 | -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 PageFaultException | Eliot Horowitz | 2012-06-08 | 1 | -0/+6 |
| | |||||
* | move dropIndexes to index_update where it makes more sense | Eliot Horowitz | 2012-06-03 | 1 | -2/+0 |
| | |||||
* | Rename sayDbContext() to logContext(), and move from util.{h,cpp} to ↵ | Andy Schwerin | 2012-05-31 | 1 | -2/+2 |
| | | | | | | | | log.{h,cpp}. Remove now-empty util.h. Work toward SERVER-5702. | ||||
* | fix compilation again, the correct way this time. | Eric Milkie | 2012-05-17 | 1 | -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 indexes | Eric Milkie | 2012-05-17 | 1 | -1/+1 |
| | |||||
* | add Record::blockCheckSupported() | Eliot Horowitz | 2012-05-17 | 1 | -0/+2 |
| | |||||
* | add Record::likelyInPhysicalMemory( const char * ) so other people can use ↵ | Eliot Horowitz | 2012-05-17 | 1 | -0/+2 |
| | | | | the same data structure | ||||
* | remove BSONObj::BSONObj( Record* ) in place of BSONObj::make( Record* r ) so ↵ | Eliot Horowitz | 2012-05-16 | 1 | -4/+4 |
| | | | | we don't access data in constructor | ||||
* | pare down pch.h some more | Eric Milkie | 2012-04-05 | 1 | -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 Horowitz | 2012-04-01 | 1 | -1/+1 |
| | | | | obey it | ||||
* | make Record::touch not call _accessing | Eliot Horowitz | 2012-03-30 | 1 | -1/+3 |
| | |||||
* | in Record::_accessing throw PageFaultException if allowed | Eliot Horowitz | 2012-03-30 | 1 | -1/+1 |
| | |||||
* | make records in DeletedRecord private | Eliot Horowitz | 2012-03-30 | 1 | -5/+21 |
| | | | | nextDeleted is ugly because of const issues right now | ||||
* | make fields in Record private | Eliot Horowitz | 2012-03-30 | 1 | -23/+48 |
| | | | | step towards more PageFaultException work | ||||
* | replace assert with verify SERVER-1259 | Eliot Horowitz | 2012-03-26 | 1 | -14/+14 |
| | |||||
* | Fix Visual Studio Solution Builds | Andy Schwerin | 2012-03-23 | 1 | -1/+1 |
| | |||||
* | SCons refactoring, cleans up building and testing the C++ client. | Andy Schwerin | 2012-03-23 | 1 | -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 readable | dwight | 2012-02-13 | 1 | -1/+3 |
| | |||||
* | Merge remote branch 'main/master' | dwight | 2012-02-10 | 1 | -1/+1 |
|\ | |||||
| * | SERVER-4333 add fromMigrate flag to identify sharding oplog entries | Eric Milkie | 2012-02-10 | 1 | -1/+1 |
| | | |||||
* | | checkpoint | dwight | 2012-01-04 | 1 | -1/+3 |
| | | |||||
* | | x | dwight | 2012-01-03 | 1 | -4/+4 |
|/ | |||||
* | better name is memconcept change it | dwight | 2011-12-30 | 1 | -6/+6 |
| | |||||
* | lockconcept | dwight | 2011-12-26 | 1 | -3/+14 |
| | |||||
* | bulk move of code to src/ SERVER-4551 | Eliot Horowitz | 2011-12-24 | 1 | -0/+546 |