Commit Graph

72 Commits

Author SHA1 Message Date
dwight
c0384332f2 towards proper --quotafiles support 2011-05-23 20:03:24 -04:00
Aaron
4c66fe26c7 SERVER-2111 Synchronize db names with master if a case conflict is detected in replication 2011-04-12 21:54:20 -07:00
Eliot Horowitz
d54651e5f2 fix --profile by removing unused method and initializing in constructor SERVER-2880 2011-03-31 10:28:36 -04:00
Aaron
d1e7d7fe4f SERVER-2111 When checking for duplicate uncased db names, consider in-memory database names as well 2011-03-29 18:14:52 -07:00
Eliot Horowitz
b828d21630 ran astyle SERVER-2304 2011-01-04 00:40:41 -05:00
Eliot Horowitz
55dda1adf1 cleaning Database class 2010-12-30 13:41:15 -05:00
Eliot Horowitz
a397b3aa16 remove last references to RecCache 2010-12-30 13:41:15 -05:00
Dwight
d4def8bb8a dur 2010-11-23 14:13:46 -05:00
Eliot Horowitz
807d6a5d44 make ClientCursor::byLoc have cursor id be part of key SERVER-1875 2010-09-30 12:19:35 -04:00
Eliot Horowitz
a6555c8c36 Database::ownsNS 2010-09-22 14:56:55 -04:00
Dwight
38462a23b8 const feels safer, especially for public member variables 2010-08-26 11:03:31 -04:00
Dwight
92f0779172 make ~Database safer 2010-08-26 10:42:07 -04:00
dwight
8bbf74107e trying to figure out segfault 2010-08-25 22:43:45 -04:00
dwight
c073cafa96 fix an old but serious bug with cursors 162 2010-08-23 11:12:35 -04:00
Eliot Horowitz
127558c1c4 Database::flushFiles and use in rs for speed 2010-07-26 17:28:24 -04:00
Eliot Horowitz
380cdd5bf2 handle databases with different cases in mongos SERVER-1443 2010-07-22 15:39:20 -04:00
Eliot Horowitz
1113a12a59 don't allow databases with the same name and different casing SERVER-1149 2010-06-15 02:48:09 -04:00
Mathias Stearn
2f13545f37 Add fileSize to db.stats() SERVER-1123 2010-06-03 19:46:53 -04:00
Aaron
2ecc53d015 fix preallocation 2010-05-24 17:33:01 -07:00
Eliot Horowitz
8cbcdcc9b6 check for bad db names and don't segfault SERVER-1132 2010-05-18 09:59:43 -04:00
Dwight
8ac01ac9dc remove reccache (mostly) 2010-05-17 10:38:36 -04:00
Dwight
3cb1ef8cd9 make HeaderSize a const 2010-03-31 15:49:28 -04:00
Dwight
4778a2c4ad mmf abstraction 2 2010-03-31 15:08:40 -04:00
Mathias Stearn
58e7807a9b size_t <-> int changes to fix win64 warnings 2010-01-28 17:33:33 -05:00
Aaron
d0847c9912 SERVER-308 add support for --directoryperdb option 2010-01-26 14:40:06 -08:00
Aaron
1f9867f393 SERVER-493 when opening 'all' files, don't open preallocated ones 2010-01-19 16:33:41 -08:00
Eliot Horowitz
96fbb6c9fb replace resetClient with Client::Context
added magic value to Database to prevent weird issues
2010-01-19 13:03:23 -05:00
Eliot Horowitz
718ec488d5 get rid of clientIsEmpty() and add isEmpty() to Datbase 2010-01-14 13:17:32 -05:00
Eliot Horowitz
7d65d20f5a --profile command line option SERVER-456 2009-12-29 12:27:27 -05:00
Eliot Horowitz
3b37c3fbd4 some profiling management cleaning pre SERVER-456 2009-12-29 12:08:13 -05:00
Eliot Horowitz
3fd317da0a some cleaning 2009-12-29 11:49:24 -05:00
Eliot Horowitz
0ab8149a8e uassert/massert take error code SERVER-112 2009-12-28 16:43:43 -05:00
Aaron
e6b27edec7 MINOR comments 2009-12-21 09:26:16 -08:00
Dwight
2437f989c9 fix a problem with extent re-use SERVER-490 2009-12-18 17:43:40 -05:00
Dwight
16bd507b51 checkpoint some intermediate concurrency work 2009-12-02 09:39:17 -05:00
Dwight
16f8b77c5e move the var 'database' inside Client object 2009-10-14 14:34:38 -04:00
Dwight
29f0d36640 more buildindex 2009-09-24 17:10:45 -04:00
Eliot Horowitz
01ff742b4e changed dbpath to std::string 2009-08-11 14:29:03 -04:00
Aaron
e8c1ce4dc1 Revert "Revert "do preallocation after initial allocation too, make file allocator interface more flexible""
This reverts commit 668cf57c52.
2009-04-15 16:10:34 -04:00
Aaron
c99883578c Revert "Revert "allocate files in background""
This reverts commit e577a2c64e.
2009-04-15 16:10:21 -04:00
Aaron
e577a2c64e Revert "allocate files in background"
This reverts commit 0033bd91df.
2009-04-15 15:40:16 -04:00
Aaron
668cf57c52 Revert "do preallocation after initial allocation too, make file allocator interface more flexible"
This reverts commit 5d9cb32605.
2009-04-15 15:39:57 -04:00
Aaron
5d9cb32605 do preallocation after initial allocation too, make file allocator interface more flexible 2009-04-15 14:57:37 -04:00
Aaron
0033bd91df allocate files in background 2009-04-15 11:58:38 -04:00
Dwight
64ed02b27d recstore: closeFiles() support 2009-03-24 12:53:13 -04:00
Dwight
554cc09904 minor: better error message 2009-03-20 12:19:21 -04:00
Aaron
8ffaa3e2d9 Remove 'haveLogged' 2009-03-17 13:48:40 -04:00
Aaron
0e38bc5a8f FieldBound work 2009-02-17 15:53:19 -05:00
Dwight
459d62347b replication / exception throwing bug fix
--only option added
2009-02-12 15:03:38 -05:00
Aaron
e62fefd18c Init ns index if it exists 2009-02-06 13:49:33 -05:00