0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-11-30 09:06:21 +01:00
Commit Graph

571 Commits

Author SHA1 Message Date
Aaron
fd8f4be646 SERVER-500 lower base port for e2e tests 2010-02-09 11:38:19 -08:00
Mathias Stearn
551d924f54 Debugging for failing test on win64 MINOR 2010-02-09 13:53:49 -05:00
Aaron
16b0080200 SERVER-500 debug 2010-02-08 19:13:51 -08:00
Aaron
9be0100c84 SERVER-500 debugging 2010-02-08 19:08:10 -08:00
Eliot Horowitz
a2a95072bd fix -u -p on shell startup 2010-02-08 20:43:08 -05:00
Eliot Horowitz
dbce9b9019 fix assert constraint 2010-02-04 15:58:37 -05:00
Mathias Stearn
aeae928580 printf needs a format string 2010-02-03 16:10:05 -05:00
Aaron
7ba50bffab Merge branch 'master' of github.com:mongodb/mongo 2010-02-03 00:06:12 -08:00
Aaron
9eaaef4a6c only return tail ov raw mongo program output if very long 2010-02-03 00:06:06 -08:00
Mathias Stearn
8250ddea8c windows fixes 2010-02-02 22:46:43 -05:00
Mathias Stearn
3c2ca2bb66 fix compile on windows 2010-02-02 20:30:09 -05:00
Aaron
a0010982f7 SERVER-500 try hardcoded ports 2010-02-02 14:29:14 -08:00
Eliot Horowitz
90d5493371 remove lock file in repl tests 2010-02-01 22:50:49 -05:00
Eliot Horowitz
c7a9785fb4 removeFile - fixes repltest 2010-02-01 22:07:05 -05:00
Mathias Stearn
2de4b90bf9 fix for windows with old boost 2010-02-01 21:34:13 -05:00
Mathias Stearn
981d13fb83 fix smokeTool on linux 2010-02-01 21:27:42 -05:00
Mathias Stearn
4de5ca4556 Make smokeTool work on windows SERVER-411 2010-02-01 21:23:33 -05:00
Dwight
b8f779a2a2 shell should use the db's reIndex command 2010-01-29 14:58:10 -05:00
Eliot Horowitz
e730368296 Merge branch 'master' of git@github.com:mongodb/mongo 2010-01-28 12:22:06 -05:00
Eliot Horowitz
6df2f6c7e6 make hex_md5 work server side 2010-01-28 12:21:56 -05:00
Eliot Horowitz
367de29611 better assert 2010-01-28 11:52:02 -05:00
Richard Kreuter
91c38b48ec Don't save shell history if the line contains .auth. SERVER-581 2010-01-28 11:13:50 -05:00
Mathias Stearn
0048e481c5 db.c.insert() now generates and returns _id. SERVER-288 2010-01-27 15:52:28 -05:00
Mathias Stearn
f52bc8f43a tojson(undefined) shouldn't return "null" 2010-01-27 15:07:00 -05:00
Aaron
dcce5e795e SERVER-258 add readOnly auth mode 2010-01-26 17:04:09 -08:00
Aaron
a13d0b88c2 MINOR listFiles print problem dir 2010-01-26 12:46:07 -08:00
Aaron
15a31df5e9 MINOR cleaner directory check in diskfull.js test, validate dir in listFiles 2010-01-19 17:07:30 -08:00
Eliot Horowitz
ae7110f3bc better m/r debugging 2010-01-16 08:01:38 -05:00
Eliot Horowitz
8a81ec59b9 make --quiet option for shell SERVER-542 2010-01-13 21:08:23 -05:00
Aaron
2652e7faad SERVER-529 comment 2010-01-12 18:47:44 -08:00
Aaron
5d67aa7014 MINOR use hidden value for native js thread object, avoids trouble when printing 2010-01-12 18:00:29 -08:00
Aaron
386a525c2f SERVER-529 when js thread throws an exception, log and check return 2010-01-12 17:33:03 -08:00
Aaron
29f41538ed Revert "SERVER-500 after allocating ports, keep sockets open until ports will be used; use udp sockets"
This reverts commit 1430432a39.
2010-01-11 22:04:59 -08:00
Aaron
ca537582dd Revert "SERVER-500 MINOR handle hardcoded ports as well"
This reverts commit 2460cc0e2d.
2010-01-11 22:04:46 -08:00
Aaron
4c03735ef8 Revert "SERVER-500 more port/socket corner cases"
This reverts commit b691dc629e.
2010-01-11 22:04:39 -08:00
Aaron
367a68dffc Revert "MINOR formatting"
This reverts commit b94ecc8f2d.
2010-01-11 22:04:10 -08:00
Aaron
b94ecc8f2d MINOR formatting 2010-01-11 19:47:18 -08:00
Aaron
b691dc629e SERVER-500 more port/socket corner cases 2010-01-11 18:48:38 -08:00
Aaron
2460cc0e2d SERVER-500 MINOR handle hardcoded ports as well 2010-01-11 18:30:22 -08:00
Aaron
1430432a39 SERVER-500 after allocating ports, keep sockets open until ports will be used; use udp sockets 2010-01-11 18:19:25 -08:00
Kristina Chodorow
de3163e5eb Merge branch 'master' of git@github.com:mongodb/mongo 2010-01-08 15:09:14 -05:00
Kristina Chodorow
ca426dd766 no \n's in empty array json formatting
[ ] instead of

[

]
2010-01-08 15:09:00 -05:00
Aaron
2b6fa54937 SERVER-470 finish basicPlus test 2010-01-05 15:58:25 -08:00
Aaron
9d671360dc SERVER-470 improvements for allops test 2010-01-05 14:45:45 -08:00
Aaron
3a1907331a SERVER-470 improve event generation helpers 2010-01-05 14:31:47 -08:00
Aaron
88eb16dc0f SERVER-470 move more code to parallel testing fwk 2010-01-05 14:05:40 -08:00
Aaron
5869ed26b8 SERVER-470 start extracting framework for parallel test 2010-01-05 12:52:26 -08:00
Aaron
4fbf8deaa9 MINOR comments 2010-01-05 11:09:44 -08:00
Aaron
8833b6dc37 MINOR try to compile win 2010-01-04 17:40:47 -08:00
Aaron
e2bac039d1 SERVER-470 improve JS rand() 2010-01-04 17:28:42 -08:00
Aaron
5864c4a8db SERVER-470 add ability to set seed when generating random numbers 2010-01-04 17:02:30 -08:00
Aaron
3cec831af7 SERVER-470 clean up multi thread testing function 2010-01-04 12:38:29 -08:00
Mathias Stearn
225173bb31 FindAndModify command SERVER-459 2009-12-30 20:08:43 -05:00
Aaron
bf9e214caf Merge branch 'master' of github.com:mongodb/mongo 2009-12-29 20:01:43 -08:00
Aaron
c1d105d076 MINOR uassert on connect/login failure 2009-12-29 19:07:44 -08:00
Aaron
33cd7bc1e1 SERVER-470 complete setup for parallel clients in separate js scopes 2009-12-29 19:01:10 -08:00
Aaron
8573d53da7 SERVER-470 MINOR abstract shell init functionality so v8_utils need not link with shell 2009-12-29 18:27:49 -08:00
Aaron
d1e3f2afe5 SERVER-470 MINOR use return value to check in assert.parallelTests 2009-12-29 18:04:57 -08:00
Aaron
978582f803 SERVER-470 MINOR Refactor shell scope init code 2009-12-29 17:38:29 -08:00
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