0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +01:00
Commit Graph

15741 Commits

Author SHA1 Message Date
Eric Milkie
3fb4ab76d6 initialize member variables to avoid branching on uninitialized memory 2011-12-13 09:33:28 -05:00
Tad Marshall
9e0a78c914 SERVER-4432 make "cf_1_f_x) {shellAutocomplete(x)}(" go away
Test for no function name specified and use a default name if the
function is unnamed.  Start private internal names with leading
underscores.  Provide a name for the function anyway.  Run the
shellAutocomplete function inside try/catch for safety.
2011-12-13 06:17:36 -05:00
dwight
82a5393356 buildbot count8.js wasnt yielding 2011-12-13 00:35:32 -05:00
dwight
7343e485e3 wouldnt compile gcc 4.4.4
cc1plus: warnings being treated as errors
db/pipeline/accumulator.cpp:58: error: 'void mongo::agg_framework_reservedErrors()' defined but not used
2011-12-12 21:11:16 -05:00
U-tellus\cwestin
36a54d65fc reserve more error numbers 2011-12-12 17:12:09 -08:00
U-tellus\cwestin
42d73f841c assign error codes 2011-12-12 17:12:07 -08:00
dwight
feedad9a2d overlogging 2011-12-12 19:43:47 -05:00
dwight
54c3c80b1f add asserts 2011-12-12 19:39:38 -05:00
Spencer T Brody
3dd48a56ab Log a warning when restoring with different options than existing collection. SERVER-1311. 2011-12-12 17:18:53 -05:00
Kevin Matulef
43a180b0a9 Merge branch 'serve-4442'
Conflicts:
	docs/errors.md
2011-12-12 16:50:41 -05:00
Kevin Matulef
21a4dccfab SERVER-4442 now validates coll names non-empty 2011-12-12 16:23:17 -05:00
Tad Marshall
6ebb2c50b3 SERVER-4312 implement kill ring for mongo shell
Add code to enable Meta-Y to rotate through killed text.  Ring size
is set at 10 right now, but it's a compile-time constant and could
be changed if desired.  10 is what readline defaults to.
2011-12-12 15:59:36 -05:00
dwight
39685d2888 gcc wouldnt compile complained unused fucntion 2011-12-12 14:11:33 -05:00
dwight
5c7dd475d5 errnos 2011-12-12 14:53:41 -05:00
dwight
d5ca8e65e0 clc 2011-12-12 14:46:45 -05:00
U-tellus\cwestin
48f8aa2905 reserve some error codes 2011-12-12 11:43:09 -08:00
U-tellus\cwestin
4362ed1168 assign error codes 2011-12-12 11:33:03 -08:00
U-tellus\cwestin
4ef6e176b4 1st error code 2011-12-12 11:08:51 -08:00
Greg Studer
e1439a3740 more informative error messages on network failure during migration SERVER-4076
also prevents calling socket from being closed, which is unnecessary
2011-12-12 12:07:08 -05:00
Greg Studer
9d9b2cf71a SERVER-4388 update version of newly sharded collection on mongod primary after first sharding 2011-12-12 11:12:57 -05:00
Greg Studer
345331fb27 SERVER-4465 wait for refresh if multiple retries fail for sharded count() 2011-12-12 10:42:32 -05:00
Dwight
352b27c12f buildbot 2011-12-12 10:38:55 -05:00
Greg Studer
21fee761c6 buildbot findandmodify1.js - balancer assumptions changed, update test
balancer now moves *any* chunk imbalances when there are < 20 chunks, so we need to explicitly turn it off if we don't want interference
2011-12-12 10:23:19 -05:00
Tad Marshall
81c688139f SERVER-4312 fix Alt+Backspace on xterm
Have to special-case Alt+Backspace on xterm.  The "normal"
processing was giving us Meta-_ which is a different (and
not yet implemented) function.
2011-12-12 07:57:53 -05:00
Aaron
776114c390 SERVER-4148 start yielding count using time as well as iteration count criterion, fixes currentop buildbot failures 2011-12-11 23:50:17 -08:00
Aaron
9796eb1bca temporarily disable supportYields verify check 2011-12-11 23:08:48 -08:00
Eliot Horowitz
040724a3f3 newline at end of file 2011-12-12 01:15:27 -05:00
Eliot Horowitz
8d309499fd fix assertion on dotted path expressions that can be missing 2011-12-12 00:38:45 -05:00
Eliot Horowitz
f37bb4d905 remove spam for aggregate helper 2011-12-12 00:38:45 -05:00
Eliot Horowitz
5115bf6751 aggregate helper 2011-12-12 00:38:45 -05:00
Eliot Horowitz
f2ad5b0254 assert instead of segv 2011-12-12 00:38:45 -05:00
Eliot
639061789c Merge pull request #141 from guanqun/remove-allocTemp
remove unused allocTemp
2011-12-11 21:38:31 -08:00
Eliot
48b696ffee Merge pull request #151 from charsyam/patch-1
change false -> true in opIsWrite in op is dbUpdate/dbInsert/dbDelete
2011-12-11 21:36:58 -08:00
Aaron
806669bb43 error codes 2011-12-11 19:28:59 -08:00
Aaron
bb58eded12 SERVER-4148 SERVER-4149 Implement several query optimizer cursor optimizations due to more frequent use of the query optimizer cursor in place of simple cursors. 2011-12-11 19:28:59 -08:00
Aaron
6529f9aa1b SERVER-4148 SERVER-4149 utilize new Cursor interface operations for count, update, and delete. 2011-12-11 19:28:58 -08:00
Aaron
4e08c88fbe SERVER-4148 SERVER-4149 add new Cursor interface functions to perform matching and clarify the nature of a partial Cursor context yield. 2011-12-11 19:28:58 -08:00
Aaron
4e6ae04895 error codes 2011-12-11 19:28:58 -08:00
Aaron
ba581b3b5f SERVER-4149 rather than forward doingDeletes to the query optimizer cursor, clear the QueryPlanSet::Runner when handing off scanning to the takeover cursor, for equivalent performance 2011-12-11 19:28:58 -08:00
Aaron
00ca77d9c5 SERVER-4148 SERVER-4149 update test for new index caching behavior 2011-12-11 19:28:57 -08:00
Aaron
cc688328b1 SERVER-4148 SERVER-4149 return a QueryOptimizerCursor when a non optimal recorded plan is used, to allow failing over to another query plan; stop recording optimal plans to facilitate this implementation 2011-12-11 19:28:57 -08:00
Aaron
f4adf5f3d3 SERVER-4149 update checkLocation() to accommodate SERVER-4401 changes to advance 2011-12-11 19:28:57 -08:00
Aaron
df7f289b71 convert ASSERT_EXCEPTION to ASSERT_THROWS 2011-12-11 19:28:56 -08:00
Aaron
89834d70bd error codes 2011-12-11 19:28:56 -08:00
Aaron
61b387e7c1 SERVER-4149 new update and delete implementation checkpoint 2011-12-11 19:28:56 -08:00
Aaron
0d947ded80 SERVER-4148 speed up short counts by postponing construction of a client cursor 2011-12-11 19:28:56 -08:00
Aaron
53589d5b29 clean tests 2011-12-11 19:28:56 -08:00
Aaron
74397cdcf0 SERVER-4148 update test to match slightly modified query pattern recording behavior for count 2011-12-11 19:28:55 -08:00
Aaron
2465c2a484 SERVER-4148 handle newly reported count assertions in test 2011-12-11 19:28:55 -08:00
Aaron
46d49e316d SERVER-4148 simplify count implementation and rewrite using query optimizer cursor 2011-12-11 19:28:55 -08:00