Dwight
d4be225391
buildbot fix jstests/replsets/auth1.js
2011-12-05 15:55:51 -05:00
dwight
3472b0bc79
buildbot copyauth.js
2011-12-05 10:27:38 -05:00
dwight
ed5353bb0a
revert dbholdermutex
2011-12-03 13:32:26 -05:00
dwight
1722630e89
still finishing refactorings of db opening with locking. fix some buildbot breaks
2011-12-02 13:10:36 -05:00
dwight
1fcc72f2e6
error code
2011-12-01 17:04:22 -05:00
Dwight
152025d12e
new ReadContext class which sets context and acquires readlock at the same time.
2011-12-01 17:50:32 -05:00
Dwight
5c3e52d7a5
change holdermutex to be nonrecursive which is preferrable and also now we can dassert locked for more safety
2011-12-01 12:45:59 -05:00
Dwight
6d9e1f084e
partial buildbot fix for recent locking refactoring
2011-11-29 14:55:30 -05:00
dwight
291639a9bc
gcc compile
2011-11-27 14:49:16 -05:00
dwight
c0cb333353
refactoring. openAllFiles was written in a way that suggests it may sometimes create files.
2011-11-27 15:19:55 -05:00
dwight
ba858ba8d3
redo how we handle concurrency when opening a database initially.
...
this was awkward at best before (very old code). however the change is pretty big and is thus
worth a careful review - the main issue possible is not being locked as widely as it should be
somewhere, not so much the specifics of any one line of the change.
also cleaned up the Context constructors to be more readable and got rid of one completely
made several Context object members const
2011-11-26 21:08:11 -05:00
Eliot Horowitz
2ea225cd7f
move validDBName from Database to NamespaceString
2011-11-16 15:40:58 -05:00
dwight
155b6269ee
comments and logging
2011-11-12 12:01:55 -05:00
Mathias Stearn
6ebfbc789e
raise system.profile default size to 1MB SERVER-3618
2011-08-16 17:23:59 -04:00
Aaron
1c434d10f9
SERVER-3293 ignore quota for local database
2011-07-31 08:59:01 -07:00
Eliot Horowitz
6683d09c4c
better secondary profiling support SERVER-2881
2011-07-26 17:38:00 -04:00
dwight
c0384332f2
towards proper --quotafiles support
2011-05-23 20:03:24 -04:00
dwight
1a4bc08286
_dbprofile variable wasnt always being set correctly in CurOp
2011-04-23 13:50:53 -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
dwight
f6f3cf1bf6
SERVER-2502
2011-02-09 16:15:47 -05:00
Eliot Horowitz
b828d21630
ran astyle SERVER-2304
2011-01-04 00:40:41 -05:00
Eliot Horowitz
c4c5d66d01
fix extent search in old files SERVER-2310
2010-12-30 14:12:26 -05:00
Eliot Horowitz
55dda1adf1
cleaning Database class
2010-12-30 13:41:15 -05:00
dwight
6c3eb1ddd4
dur remap
2010-11-27 15:25:08 -05:00
Dwight
b016258805
remove unused code and files
2010-09-30 15:42:04 -04:00
Eliot Horowitz
807d6a5d44
make ClientCursor::byLoc have cursor id be part of key SERVER-1875
2010-09-30 12:19:35 -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
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
e42ab71086
stability tests
2010-06-21 13:17:05 -04:00
Eliot Horowitz
66bdde32e1
don't allow " in db name
2010-06-19 21:37:53 -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
Eliot Horowitz
663e59a8f4
better Database name check SERVER-1218
2010-06-15 01:25:54 -04:00
Eliot Horowitz
8cbcdcc9b6
check for bad db names and don't segfault SERVER-1132
2010-05-18 09:59:43 -04:00
Dwight
bd28578ab8
stdafx->pch
2010-04-27 15:27:52 -04: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