Mathias Stearn
541aa57d8f
Revert "build index in system.user on insert SERVER-3572"
...
This reverts commit 3733a988c5 .
Currently only builds index if system.users already exists so doesn't work for
first user. Reverting since this is breaking buildbot.
2011-10-24 18:21:32 -04:00
Mathias Stearn
3733a988c5
build index in system.user on insert SERVER-3572
2011-10-24 15:07:24 -04:00
dwight
08c3888312
make a long running operation terminate if the client has disconnected. we check for this at the beginning
...
of every request but intra request. if a request will run for a very long time this is bad.
probably not for backporting -- might be nuances need to smoke for a while
also some yield code cleaning, really just making it easier to read.
2011-10-11 15:16:01 -04:00
dwight
6fc17b9c1c
fix extraneous
2011-09-16 22:43:01 -04:00
dwight
81cb3314fd
compile gcc
2011-09-13 10:15:31 -04:00
dwight
7d03d528a1
verifying upgraable will work
2011-09-12 23:32:56 -04:00
dwight
895e3e786c
compile
2011-09-12 23:22:35 -04:00
dwight
a689f903e6
elim false positive assert in test binary
2011-09-12 23:22:22 -04:00
dwight
828ad7b5ff
utilize two step index insertion with record insert code
2011-09-12 23:22:19 -04:00
dwight
4bead9d4f5
extraneous logging from last checkin
2011-09-12 23:22:13 -04:00
dwight
613bb7ba4a
two step key addition to indexes
2011-09-12 23:22:10 -04:00
Mathias Stearn
7f12a2f1ce
Change repair path not to include $ SERVER-2673
2011-09-12 13:31:46 -04:00
Eliot Horowitz
5fa00754cd
veok" shouldn't be used, especially in error messages, since every function uses "slaveOk" SERVER-3804
...
from: patrick@collison.ie
2011-09-12 12:26:01 -04:00
Eliot Horowitz
b7d7b752a4
fix issue where dropDup code for insertion can fail on secondary during clone if doc moved SERVER-3762
2011-09-05 21:44:03 -04:00
agirbal
62993481e9
SERVER-3526: when a collection is renamed, its counters are kept in map, which can increase memory over time (e.g. with M/R)
...
SERVER-3527: when a collection is dropped, the transient NS details are kept in map, which can increase memory over time (e.g. with M/R)
2011-08-03 15:12:46 -07:00
Aaron
23c7fefdfe
SERVER-2054 don't uassert due to unique index constraint violation in dropdups mode
2011-07-31 08:59:01 -07:00
Eliot Horowitz
f1c3bbd199
spam
2011-07-29 10:13:16 -04:00
Eliot Horowitz
724fc134c4
make sure to drop the same dups on master and secondaries SERVER-1086
2011-07-28 17:24:42 -04:00
Eliot Horowitz
6cd435b005
SERVER-2563 - make ClientCursor check disk location for record in memory if its going to be needed
2011-06-23 15:46:10 -04:00
Eliot Horowitz
131e1d2182
more cleaning
2011-06-22 15:51:08 -04:00
Eliot Horowitz
32de61255e
putting delete in its own files and related cleaning
2011-06-20 17:34:16 -04:00
Dwight
14711f4ef1
use legacy compare for legacy index building
2011-06-16 16:35:07 -04:00
dwight
96b2c2e35e
FindingStart dbtest not working not sure why yet
2011-06-11 19:45:03 -04:00
dwight
bfe34b1985
doesnt make much sense to specify capped without a size so check for that
2011-06-11 12:55:46 -04:00
Dwight
e593a577dd
log nicer
2011-06-06 13:06:43 -04:00
Dwight
3ea739ba8d
do not auto add an _id field on inserts if missing if the collection does not have an _id index.
...
also, add an _id if missing if the capped collection has an index.
2011-06-03 15:47:07 -04:00
Dwight
477807b851
comment
2011-06-03 14:49:41 -04:00
gerald-lindsly
1ee161dfbe
SERVER-3064
2011-06-03 14:38:40 -04:00
Aaron
41be5821f3
remove BSONObjSetDefaultOrder and avoid inheriting from stl class
2011-06-02 13:34:26 -04:00
dwight
37204c7ca0
cleaning and a small insert optimization
2011-05-29 00:31:17 -04:00
dwight
c545dfed4f
indicate if added _id on insert for tuning
2011-05-28 13:11:43 -04:00
dwight
afd23f33f9
make a noreturn version of insert, would be faster unless cmopiler is very smart.
...
cleaning in insert()
2011-05-24 10:05:31 -04:00
dwight
c0384332f2
towards proper --quotafiles support
2011-05-23 20:03:24 -04:00
dwight
9d4b979160
code path tuning and should be a bit more readable too
2011-05-15 23:05:08 -04:00
Eliot Horowitz
71dc50d006
don't use stringbuffer for OpDebug SERVER-1591 - updates about 8% faster
2011-05-07 17:00:57 -04:00
Dwight
479a085bbc
dont assert in destructor
2011-05-04 15:58:37 -04:00
Dwight
3de56d187f
remove mmmutex lock as was in wrong order also trying to figure out if it was actually needed
2011-05-04 15:47:17 -04:00
Dwight
a3cd52048a
Merge branch 'master' into main
...
Conflicts:
SConstruct
db/btree.h
db/db.vcxproj.filters
db/dbcommands_admin.cpp
db/geo/2d.cpp
db/pdfile.cpp
dbtests/test.vcxproj.filters
2011-05-03 15:53:27 -04:00
Eliot Horowitz
18dc400e68
don't allow blank usernmae or password SERVER-3003
2011-05-03 10:53:24 -04:00
dwight
33897ac5d1
fix problem with groupcommitlimitedlocks simultaneous with dropdatabase in 1.9
2011-05-03 00:56:47 -04:00
dwight
4382278e82
fix bug with new idx code page align
2011-05-02 22:02:18 -04:00
dwight
5f3694fb9a
text and comment
2011-04-30 12:13:17 -04:00
dwight
2d176b320a
checkpoint work
2011-04-27 09:52:11 -04:00
dwight
16aa2fd807
slightly better initial extent size for indexes
2011-04-25 10:24:28 -04:00
Dwight
52ea89ab47
towards index v1 format
2011-04-22 18:16:43 -04:00
Dwight
846a7a0bc5
checkpoint index v2 work
2011-04-21 14:53:10 -04:00
Dwight
6c9fe3bbfd
Merge branch 'master' of github.com:mongodb/mongo
2011-04-19 10:31:26 -04:00
Dwight
4f8f0c6a9f
better message on a dropdups index build
2011-04-19 10:31:21 -04:00
dwight
43e19abd09
use smaller journal files with --smallfiles option
2011-04-18 19:16:08 -04:00
dwight
17892972aa
should be endl
2011-04-15 17:42:22 -04:00