Commit Graph

161 Commits

Author SHA1 Message Date
Mathias Stearn
00fe69f3fa spelling 2011-05-31 18:09:59 -04:00
dwight
37204c7ca0 cleaning and a small insert optimization 2011-05-29 00:31:17 -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
8a0660ac31 use firstElementFieldName() 2011-05-23 20:03:19 -04:00
Kyle Banker
19c5c80d2b minor: error typo 2011-05-19 11:11:36 -04:00
gregs
f78d25f6e2 don't override cursor matcher with default op matcher 2011-05-11 13:41:46 -04:00
dwight
76cbcfb532 redo diagstr 2011-05-09 09:40:48 -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
09bf5bbf6b tiny bit faster updates when no match or upsert perhaps 2011-05-07 13:03:56 -04:00
dwight
96ee65be74 somehow this got mangled on my 2ac6dbcf63 commit SERVER-3052 2011-05-07 12:49:27 -04:00
dwight
2ac6dbcf63 SERVER-3052
mitigate overlogging in profile for multi updates.  more work to be done we still need to
show in profile total nscanned and the number which were fastmod'd so not finished do
not close case yet
2011-05-06 17:30:24 -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
Aaron
f799371da9 SERVER-958 Update matcher and matcher usage for better non single key range support 2011-04-25 13:29:50 -07:00
Dwight
52ea89ab47 towards index v1 format 2011-04-22 18:16:43 -04:00
Mathias Stearn
fa7cd65e48 g++ 4.6 compile (new -Wunused-but-set-variable warning) 2011-04-03 19:10:36 -04:00
Eliot Horowitz
9eb9c7200d minor change to update 2011-03-31 11:45:39 -04:00
Eliot Horowitz
ded0dac926 $pop from an empty fix SERVER-2465 2011-03-31 09:29:41 -04:00
Aaron
dc14c92069 SERVER-2809 update _nscanned with proper value, now that it may be returned 2011-03-22 09:18:36 -07:00
Aaron
c27b540669 SERVER-2809 don't read cursor's nscanned if failed yield invalidated the cursor 2011-03-21 21:52:21 -07:00
Eliot Horowitz
446bc31275 fix update memory leak on user error SERVER-2497 2011-02-08 21:24:09 -05:00
Aaron
a61e609d2b rename backgroundIndexBuildInProgress to indexBuildInProgress 2011-01-14 16:27:07 -08:00
Eliot Horowitz
d456901022 better error reporting 2011-01-11 22:38:18 -05:00
Mathias Stearn
4dac3edc30 commitIfNeeded() inside $atomic operations 2011-01-10 16:31:08 -05:00
Eliot Horowitz
b828d21630 ran astyle SERVER-2304 2011-01-04 00:40:41 -05:00
Eliot Horowitz
aed49ae715 fix case where the same element is in $each part of $addToSet SERVER-2249 2010-12-19 01:36:41 -05:00
Eliot Horowitz
47d2007d88 can never change _id with a full object update SERVER-2206 2010-12-12 11:19:50 -05:00
Eliot Horowitz
d74d8d153a cleaning update durability code 2010-11-02 20:15:31 -04:00
dwight
4760fa86ac comments 2010-11-02 00:21:14 -04:00
dwight
a93c3300ce Revert "cleaning"
This reverts commit a66eba2a52.
2010-11-02 00:18:10 -04:00
dwight
c1d5c25e88 Merge branch 'master' of github.com:mongodb/mongo 2010-11-01 23:59:06 -04:00
dwight
a66eba2a52 cleaning 2010-11-01 23:59:00 -04:00
Eliot Horowitz
2dd5f90b5d fix $inc overflow on int SERVER-2005 2010-11-01 23:38:17 -04:00
Eliot Horowitz
53973d365f better debugging 2010-10-31 22:25:31 -04:00
Eliot Horowitz
53a0d295e3 split bson max size into User and Internal
sometimes objects have to be bigger (oplog insertion for example)
more prep for SERVER-431
2010-10-11 11:26:41 -04:00
Eliot Horowitz
d3c3b8a903 using BSONObjMaxSize everywhere bson size comes into play
still 4mb, this is just prep for changing SERVER-431
2010-10-10 20:01:17 -04:00
Aaron
5260d63898 SERVER-1917 stop using appendAs to provide new element 2010-10-10 15:09:40 -07:00
Aaron
75351ec80f bsonobjbuilder change appendAs interface 2010-10-01 17:42:35 -07:00
Aaron
eb8927dd5b SERVER-349 merge 2010-09-29 11:28:23 -07:00
Aaron
e74fae251d SEVER-394 remove overwrite field name in place mode, as this can cause field ordering to differ between master and slave 2010-09-29 11:16:25 -07:00
Aaron
2895525cc3 merge error codes 2010-09-29 11:16:25 -07:00
Aaron
5e538ccb8a SERVER-394 implement rename modifier 2010-09-29 11:16:25 -07:00
Dwight
1549d5295a compile 2010-09-29 14:03:37 -04:00
Dwight
6a931d5e05 write intent work on updates 2010-09-29 13:24:33 -04:00
Dwight
7edb8c3f65 intent to write 2010-09-29 10:18:11 -04:00
Eliot Horowitz
bde74e6413 don't sort incoming arrays for $addToSet/each SERVER-1863 2010-09-27 17:04:40 -04:00
Eliot Horowitz
0d8b5981ff fix pull with primitives and $ops SERVER-1697 2010-09-24 15:40:59 -04:00
Eliot Horowitz
c78415729e fix lexNumCmp with magic end of marker 2010-08-25 18:30:51 -04:00
Eliot Horowitz
666af2a1b9 turn off debugging 2010-08-25 16:56:27 -04:00
Eliot Horowitz
053d5cd385 fix update with non-ascii keys 2010-08-25 16:55:33 -04:00
Eliot Horowitz
97ee21e232 assert when would inf. loop, but probably caused by something else, still looking 2010-08-25 02:42:25 -04:00