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

462 Commits

Author SHA1 Message Date
Aaron
aece98652e SERVER-470 allow shell threads to be run in fresh scopes 2009-12-29 17:29:24 -08:00
Eliot Horowitz
758cd7350d configure "slow" queries
either --slowms on the command line
or through setProfilingLevel
SERVER-457
2009-12-29 14:48:42 -05:00
Eliot Horowitz
a3a0bc64f9 Merge branch 'master' of git@github.com:mongodb/mongo 2009-12-28 16:44:07 -05:00
Eliot Horowitz
0ab8149a8e uassert/massert take error code SERVER-112 2009-12-28 16:43:43 -05:00
Aaron
548fc0f895 MINOR put helper in assert namespace 2009-12-28 13:16:47 -08:00
Aaron
df5dbd3a34 Merge branch 'master' of github.com:mongodb/mongo 2009-12-28 13:09:09 -08:00
Aaron
ad6c3d4132 SERVER-470 add runParallelTests helper, improve insert test 2009-12-28 13:05:11 -08:00
Eliot Horowitz
a7f5b115d9 doc 2009-12-28 13:10:39 -05:00
Eliot Horowitz
1c4f05b3bd add dropTarget option to renameCollection SERVER-487 2009-12-28 13:09:44 -05:00
Aaron
791cc89fcc Merge branch 'master' of github.com:mongodb/mongo 2009-12-22 17:59:59 -08:00
Aaron
d70db47d96 SERVER-470 unlock v8 appropriately so can do work in parallel 2009-12-22 15:08:17 -08:00
Aaron
7dcfe01698 SERVER-470 added fork()/Thread() to v8 engine- 2009-12-22 14:32:45 -08:00
Dwight
62522b905b new killOp(opnumber) 2009-12-22 15:22:37 -05:00
Aaron
e7e790ee96 SERVER-446 implement keySet w/o array comprehension, since v8 doesn't support that 2009-12-21 11:34:02 -08:00
Aaron
81b7e051b2 SERVER-446 js implementation of keySet() 2009-12-21 11:21:25 -08:00
Eliot Horowitz
92bc50cff1 split server test code out from general js code SERVER-472 2009-12-18 16:53:44 -05:00
Eliot Horowitz
ce3f73a645 getLastErrorCmd 2009-12-18 16:53:27 -05:00
Aaron
beb2fcafd0 MINOR prevent quite unlikely potential port ordering race condition 2009-12-10 09:08:37 -08:00
Eliot Horowitz
a4a4fc0a58 better update docs 2009-12-09 21:29:59 -05:00
Aaron
378e3ee276 SERVER-85 converted repl tests to use new frameworks and small files- 2009-12-09 17:38:48 -08:00
Eliot Horowitz
3b6ad70940 fail faster on crappy input 2009-12-08 15:14:00 -05:00
Dwight
7c5992dbea fix shutdownServer in shell to show returend error msg 2009-11-30 11:18:41 -05:00
Eliot Horowitz
0fb7289f3a refactoring/cleaning of drop/dropDatabase/removeshard 2009-11-24 17:28:57 -05:00
Eliot Horowitz
a46dbe3dae getShardVersion in mongos - diagnostic tools 2009-11-24 15:24:41 -05:00
Eliot Horowitz
8f1aea304a bad git commit 2009-11-24 13:21:38 -05:00
Eliot Horowitz
0254bf6cf0 google profiler 2009-11-24 13:08:36 -05:00
Eliot Horowitz
ea24725b8e some command cleaning and query for distinct SERVER-437 2009-11-24 09:41:33 -05:00
Eliot Horowitz
14a6e978ba is this really waht broke? 2009-11-23 10:22:31 -05:00
Eliot Horowitz
6ecbbdebb7 sync before going straight to mongod 2009-11-23 08:59:46 -05:00
Eliot Horowitz
1c136572d6 better error message 2009-11-19 21:40:11 -05:00
Eliot Horowitz
420a7e51f0 db.printShardingStatus 2009-11-19 10:07:59 -05:00
Eliot Horowitz
d0958dc115 made count command take optional size/limit params
and added size() method to js query object
SERVER-417
2009-11-12 14:27:18 -05:00
Eliot Horowitz
123cd0eb67 optional params for map function SERVER-401 2009-11-10 15:43:51 -05:00
Eliot Horowitz
a2b6209692 Array.avg Array.stdDev 2009-11-09 22:25:37 -05:00
Eliot Horowitz
76d849e090 fix drop fallout 2009-11-09 13:10:30 -05:00
Eliot Horowitz
f6d0668141 drop() support for sharded collections SHARDING-36 2009-11-09 12:42:20 -05:00
Eliot Horowitz
697ce04a25 some utils for printing out sharding info 2009-11-06 13:55:00 -05:00
Eliot Horowitz
4a20517a71 Array.sum 2009-11-05 16:14:25 -05:00
Eliot Horowitz
01c85879b1 some simple optimiziations 2009-11-04 14:48:36 -05:00
Eliot Horowitz
ccd4f09387 cleaning sharding tests 2009-11-02 15:30:12 -05:00
Eliot Horowitz
d9f5e91892 don't do magic ctrl-c handling on freebsd SERVER-399 2009-11-01 20:18:37 -05:00
Eliot Horowitz
3eb4295ae9 helpers for distinct/mapReduce 2009-10-27 11:52:37 -04:00
Eliot Horowitz
a361b49376 a basic repl test that just ensures master/salve are the same - multi update test as well SERVER-268 2009-10-26 14:32:20 -04:00
Eliot Horowitz
21964f0873 trying to clean/speedup repl tests a bit - SERVER-10 2009-10-26 14:19:52 -04:00
Eliot Horowitz
5ebb72b9ec cleaning m/r api 2009-10-22 23:47:52 -04:00
Eliot Horowitz
3146b3110b indentation 2009-10-22 23:46:03 -04:00
Eliot Horowitz
1bc6fff4e6 shell multi-update option and test SERVER-268 2009-10-22 09:43:31 -04:00
Eliot Horowitz
7301029f4b fix a couple of returns so shell getLastError works 2009-10-21 16:01:46 -04:00
Eliot Horowitz
17568a92c4 slight mr speedup across the board and v8 wrapper work 2009-10-21 11:40:43 -04:00
Eliot Horowitz
4c856f6e8f can't throw an exception... 2009-10-20 16:20:22 -04:00
Eliot Horowitz
8615f7d1cd fix ensureIndex to return errors 2009-10-20 16:15:27 -04:00
Eliot Horowitz
a78cb6681c map/reduce finalize option SERVER-372
nice mapReduce helper for shell
2009-10-19 11:00:53 -04:00
Eliot Horowitz
f81362eb25 some tojson nicities 2009-10-19 11:00:43 -04:00
metagoto
14cd7183e6 quick fix for global namespace pollution (mostly client) 2009-10-18 09:39:08 +08:00
Mathias Stearn
448e629a81 sort lines in js help 2009-10-16 13:57:03 -04:00
Eliot Horowitz
f22a821979 fix group with [] in inital SERVER-361 2009-10-15 21:19:24 -04:00
Eliot Horowitz
2894fe7b35 fix json tests 2009-10-15 11:38:39 -04:00
Eliot Horowitz
adfc0973c0 map/reduce cleaning 2009-10-15 11:26:51 -04:00
Eliot Horowitz
7ef85dd765 only use lint on big objects 2009-10-15 11:25:41 -04:00
Eliot Horowitz
2295bf1ec9 cleaning up map/reduce temp collection names and output 2009-10-14 16:19:13 -04:00
Eliot Horowitz
9355cc739e v8: some more stuff working, checkpoint 2009-10-13 16:12:43 -04:00
Eliot Horowitz
f7553c7835 v8: more refactoring, basic shell working 2009-10-13 10:48:38 -04:00
Eliot Horowitz
5f62314f9e don't use lint for find() 2009-10-12 17:20:19 -04:00
Eliot Horowitz
6dad2527d2 fix json tesst 2009-10-12 16:27:35 -04:00
Eliot Horowitz
7881edc2ca option for 1 line tojson 2009-10-12 16:11:52 -04:00
Eliot Horowitz
c628c7b93f don't allow shards on localhost unless allowLocal : true SHARDING-47 2009-10-12 13:27:04 -04:00
kristina
85354972ae pretty JSON 2009-10-12 12:53:01 -04:00
Eliot Horowitz
324438fbae fix printCollectionStats 2009-10-11 18:29:35 -04:00
Eliot Horowitz
7885b8a7c0 removing old v8 stuff 2009-10-10 01:32:39 -04:00
Eliot Horowitz
8a6dfdc9e9 cleaning tool debugging/tests 2009-10-09 22:11:15 -04:00
Eliot Horowitz
ff170c0f9f use timestamp for replication instead of Date 2009-10-09 13:10:04 -04:00
Eliot Horowitz
9c3215b828 --smallfiles for some tests 2009-10-09 13:09:45 -04:00
Eliot Horowitz
8269a86c5f handle null return from reduce 2009-10-08 19:45:49 -04:00
Eliot Horowitz
ee72859d26 --smallfiles for some regression tests 2009-10-08 16:29:04 -04:00
Eliot Horowitz
914bca4ff4 updated vstudio js code 2009-10-07 17:05:52 -04:00
Eliot Horowitz
89c01e099c making js smaller. moved md5 to c++, doing some cleaning of js code 2009-10-07 17:05:09 -04:00
Dwight
88c1b00b8b Merge branch 'master' of git@github.com:mongodb/mongo 2009-10-07 14:42:55 -04:00
Dwight
1333a4bda9 tweak help 2009-10-07 14:42:46 -04:00
Eliot Horowitz
0c3d3b7528 Merge branch 'master' of git@github.com:mongodb/mongo 2009-10-07 12:57:55 -04:00
Eliot Horowitz
a517b84d7f faster map/reduce impl 2009-10-07 12:57:45 -04:00
Mike Dirolf
9297abd07e Merge branch 'master' of github.com:mongodb/mongo 2009-10-07 12:47:27 -04:00
Mike Dirolf
77d9e1fe42 don't show version in shell help, so that help doesn't hang when the db is locked 2009-10-07 12:47:20 -04:00
Eliot Horowitz
cfb8512886 Merge branch 'master' of git@github.com:mongodb/mongo 2009-10-07 12:46:58 -04:00
Mike Dirolf
1395da19a5 add verbose option to totalIndexSize helper 2009-10-07 12:44:24 -04:00
Eliot Horowitz
fecc9119a7 handle weird boost case with weird filenames 2009-10-07 12:43:44 -04:00
Eliot Horowitz
498169e9e3 got rid of meminfo and timeinfo and replace with serverStatus 2009-10-07 12:43:24 -04:00
Eliot Horowitz
29069c485d Array.fetchRefs SERVER-213 2009-10-05 16:02:15 -04:00
Eliot Horowitz
cc2c5c4911 add new style DBRef to js SERVER-243 2009-10-02 17:07:07 -04:00
Eliot Horowitz
eaf0c845bc renamed DBRef DBPointer SERVER-243 2009-10-02 16:38:20 -04:00
Dwight
1c16fd57c0 getLastErrorObj() in shell 2009-10-02 15:01:45 -04:00
Dwight
7cb2e80e14 repl helper functions 2009-09-29 13:26:23 -04:00
Mike Dirolf
2fedd80c4d minor: fix for shell exit code on bad hostname, plus update tests 2009-09-25 15:51:11 -04:00
Eliot Horowitz
23ac7eaad3 handle ./mongo localhost:1000 - make it go to port 1000 2009-09-22 16:29:15 -04:00
Eliot Horowitz
a78800d5b8 catch exceptions in shell 2009-09-22 10:22:24 -04:00
Eliot Horowitz
665b1f7483 --version 2009-09-22 10:07:53 -04:00
Eliot Horowitz
a0c6cc62d2 old boost fix 2009-09-19 22:06:36 -04:00
Mike Dirolf
5919abfdc8 minor: don't check for argc before doing program_options stuff, could lead to tricky bugs with defaulted arguments 2009-09-18 13:55:58 -04:00
Eliot Horowitz
d5b26ce6b5 make explain send hard limit SERVER-297 2009-09-15 21:10:07 -04:00
Eliot Horowitz
4d63454bc6 printCollectionStats 2009-09-15 21:09:56 -04:00
Eliot Horowitz
9bfcbbb343 assert debugging 2009-09-14 14:32:04 -04:00