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

230 Commits

Author SHA1 Message Date
Eliot Horowitz
391f2f01b6 Shell: mongos stop() fix 2009-04-12 22:19:04 -04:00
Aaron
42dc27e4e9 Merge branch 'master' of git@github.com:mongodb/mongo 2009-04-10 14:46:48 -04:00
Aaron
285103740e close read end of pipe to avoid leaking descriptors MINOR 2009-04-10 14:46:02 -04:00
Aaron
278bf65f61 enhanced shell debug info 2009-04-09 18:49:45 -04:00
Eliot Horowitz
53a4ba07d7 Sharding: option to start multiple mongos for testing 2009-04-07 13:35:53 -04:00
Aaron
1ebca51c74 print timestamp with process killing failure logs MINOR 2009-04-07 10:32:11 -04:00
eliot
71d9c7af73 some windows fixes 2009-04-06 17:34:29 -04:00
Aaron
aa5309a68b print error description, test timeout MINOR 2009-04-06 16:21:56 -04:00
Aaron
36d3433d4c remove logging about mongo process management 2009-04-06 14:59:07 -04:00
Aaron
6a8c117755 soon is now 30 secs 2009-04-03 15:36:18 -04:00
Aaron
006c1404e9 assert.soon waits up to 20 sec 2009-04-03 12:53:09 -04:00
Aaron
38e53ec2ff wait up to a full minute after sending sigkill 2009-04-03 11:55:24 -04:00
Aaron
80de3918c3 sort allocated ports, since linux os doesn't allocate them in sorted order 2009-04-03 11:43:27 -04:00
Aaron
83a1aded10 validate kill call, wait longer for process to die 2009-04-03 11:32:47 -04:00
Aaron
0dd264adb5 compile linux 2009-04-03 11:27:48 -04:00
Aaron
05a8521a68 waitpid return val debug 2009-04-03 11:20:57 -04:00
Aaron
c0089eeae7 wait for process to end even after killing second time 2009-04-03 11:08:32 -04:00
Aaron
652dac2449 more correct process termination check, related debug logging 2009-04-03 10:44:30 -04:00
Aaron
8780ff947f Log warning when shell sees null bytes in mongod output 2009-04-02 15:48:18 -04:00
Aaron
7d97641828 temp sleep log for debugging 2009-04-02 11:13:20 -04:00
Aaron
3dc9982e65 Only sleep extra on sigkill, be sure to stop running mongods at end of each doTest call 2009-04-01 19:51:41 -04:00
Aaron
1fe31cb601 Dynamically allocate ports for use in repl tests 2009-04-01 17:25:47 -04:00
Aaron
dcdcd309dd Increase timeout 2009-03-31 16:46:26 -04:00
Aaron
2821a57dcb sleep to allow os to recover resources of killed process 2009-03-31 14:59:58 -04:00
Eliot Horowitz
6fa7b75c6a more debugging 2009-03-29 21:24:16 -04:00
Eliot Horowitz
93a3c98bf0 show error on Load error 2009-03-29 09:42:44 -04:00
Eliot Horowitz
83158d34d5 var scope safety 2009-03-27 16:12:06 -04:00
Eliot Horowitz
9e20569d70 formatting 2009-03-27 16:11:57 -04:00
Eliot Horowitz
6b97b0e88b Max/Min Key display - need to make spcial classes though 2009-03-26 16:17:08 -04:00
Eliot Horowitz
c4c2b2559a better Array.tojson option 2009-03-26 16:16:53 -04:00
Aaron
6b1613adb6 safer use of dbs map 2009-03-26 15:12:47 -04:00
Aaron
cc6f3c9a25 Print debug info when mongo crashes 2009-03-24 17:35:50 -04:00
Eliot Horowitz
002155dcbb assert helpers for testing success/failure of commands 2009-03-18 10:50:49 -04:00
Eliot Horowitz
bc725bc851 better tojson error 2009-03-17 15:48:46 -04:00
Aaron
6299748ad4 Allow signal spec for stopMongoProgram 2009-03-12 12:21:07 -04:00
Aaron
26be29395e cleanup 2009-03-11 18:47:16 -04:00
Aaron
2f5201c7e7 Merge 2009-03-11 17:39:35 -04:00
Eliot Horowitz
a58e2ce7bd easy access to configdb 2009-03-11 17:03:05 -04:00
Eliot Horowitz
300485189d npe on assert 2009-03-11 17:02:57 -04:00
Aaron
502e20f1cc finishCloneCollection checkpoint 2009-03-11 10:31:47 -04:00
Eliot Horowitz
0f3069a4a5 copyCollection 2009-03-06 16:44:16 -05:00
Aaron
fd722b71e0 Remove compiler warning 2009-03-06 13:47:02 -05:00
Aaron
9b3af26cbe Comment 2009-03-06 13:44:38 -05:00
Aaron
d563bf486b Compile other machines 2009-03-06 10:22:32 -05:00
Aaron
abf2d9af37 Comments 2009-03-05 18:53:04 -05:00
Aaron
324e716f2f fork checkpoint 2009-03-05 18:19:43 -05:00
Aaron
0a291f6958 fork checkpoint 2009-03-05 16:06:11 -05:00
Aaron
46e6c6b475 shell fork checkpoint 2009-03-05 00:07:09 -05:00
Aaron
9be10a4f98 For starters, unlock v8 when we expect a response from server 2009-03-04 16:55:24 -05:00
Eliot Horowitz
c6a4f25e16 some timestamp helpers 2009-02-28 18:44:31 -05:00
Aaron
81a684ee5f Massert hack 2009-02-27 10:48:22 -05:00
Aaron
e910263ed2 Additional fix for cloneCollection() js function 2009-02-26 12:16:48 -05:00
Aaron
c7496cc9bf Update cloneCollection js function to match updated command spec 2009-02-26 12:12:25 -05:00
Eliot Horowitz
d18d71b169 better assert.eq 2009-02-24 17:09:21 -05:00
Eliot Horowitz
9b3b8d33e1 sharding checkpoint and copy and paste error 2009-02-23 17:43:55 -05:00
Eliot Horowitz
441e5585b6 printjson 2009-02-21 23:39:32 -05:00
Eliot Horowitz
54ea674212 assert.neq 2009-02-20 13:46:43 -05:00
Eliot Horowitz
30f3acd445 verbosity option 2009-02-20 10:46:23 -05:00
Eliot Horowitz
07cdf76329 shard infrastructure checkpoint 2009-02-19 12:55:01 -05:00
Eliot Horowitz
7c018a08c3 adminCommand helper for sharding 2009-02-19 11:33:03 -05:00
Aaron
9d9869484a Add cloneCollection to shell 2009-02-18 16:44:56 -05:00
Eliot Horowitz
e0762fd1ba assert.throws 2009-02-18 13:54:08 -05:00
Eliot Horowitz
163bd066bd cleaning, better test system 2009-02-18 10:59:13 -05:00
Eliot Horowitz
1a4ad3f915 cleaning up test framework and very simple sharding framework sanity test 2009-02-17 10:06:02 -05:00
Eliot Horowitz
873ab5b666 split out server stuff from mongo.js 2009-02-17 09:38:03 -05:00
Aaron
fb8957c743 Less dumb interface 2009-02-14 09:15:05 -05:00
Aaron
851b91a4d3 Don't expect dbpath parameter for non-mongod programs 2009-02-13 14:35:03 -05:00
Aaron
8fc2c86e0a Now can start any 'mongo program' from within mongo shell 2009-02-13 12:01:37 -05:00
Aaron
ebc0e5d2f2 Merge branch 'master' of git@github.com:mongodb/mongo 2009-02-13 10:44:52 -05:00
Aaron
e4c179c180 Killing the spawned process doesn't widow the pipe -- have to close remote end of the pipe manually 2009-02-13 10:44:35 -05:00
Eliot Horowitz
640d9fc0ac getSisterDB 2009-02-13 10:01:31 -05:00
Eliot Horowitz
65687c9303 command helper system
runCommand( { "blah" : 1 , help : true } )
in shell db.commandHelp( "blah" )
2009-02-13 09:44:07 -05:00
Aaron
be6e778aa1 Merge branch 'master' of git@github.com:mongodb/mongo 2009-02-12 16:52:41 -05:00
Aaron
c12c7851f9 Log output from spawned mongod instances to stdout 2009-02-12 16:52:34 -05:00
Eliot Horowitz
6e345fc61d make shell output more info for bindata
BSONElement.binDataType helper
2009-02-12 14:30:45 -05:00
Eliot Horowitz
25be6f87a2 remove warning for non-readline 2009-02-11 21:15:54 -05:00
Eliot Horowitz
7be50081c4 win32 hack removed 2009-02-11 21:05:45 -05:00
Eliot Horowitz
bdc7d90b85 Merge branch 'master' of git.10gen.com:/data/gitroot/p 2009-02-11 09:35:11 -05:00
Eliot Horowitz
3ae8e9440c catch socker errors for find in shell 2009-02-11 09:35:08 -05:00
Dwight
8154c0af5e db.shutdownServer() in shell 2009-02-11 09:34:00 -05:00
U-ELIOT-019992DFC\Administrator
c68d42e36c better non-readline version of shell 2009-02-11 09:15:06 -05:00
Eliot Horowitz
4ffe0fe3ad windows 2009-02-10 22:11:51 -05:00
Dwight
9cc79db551 fix a bug with dup _id keys, but fix is in comments for tonight
make show dbs pretty

2009-02-10 17:42:31 -05:00
U-ELIOT-019992DFC\Administrator
1b6151f37b make dbshell not require readline 2009-02-10 13:45:30 -05:00
Eliot Horowitz
c245e7066c reIndex 2009-02-09 13:05:36 -05:00
Dwight
147948c7b3 doneAndDecouple() -> obj() 2009-02-09 13:04:32 -05:00
Eliot Horowitz
82f5e84538 fix for not having . in path 2009-02-07 10:35:57 -05:00
Eliot Horowitz
5b8a108923 removeUser 2009-02-07 10:27:22 -05:00
Aaron
3504f3249c dbshell support for field spec with count 2009-02-06 17:16:28 -05:00
Dwight
9e237c3871 Merge branch 'master' of git.10gen.com:/data/gitroot/p 2009-02-06 13:30:27 -05:00
Dwight
94f125e855 new pagewriter
File class
sleepmillis fixed
2009-02-06 13:29:57 -05:00
Eliot Horowitz
d2801728ed it get mapped to last result 2009-02-06 12:31:24 -05:00
Aaron
3706946ff5 Localize loop var 2009-02-05 22:59:31 -05:00
Dwight
0c2e6bc6e9 more shell command helpers 2009-02-05 16:05:06 -05:00
Dwight
50538e88c3 db.getReplicationInfo() in shell 2009-02-05 15:41:34 -05:00
Aaron
875d81cdd1 Print count failure message readably 2009-02-04 17:10:48 -05:00
Dwight
e0030050ee "show profile" feature in the shell

2009-02-04 14:46:17 -05:00
Eliot Horowitz
e2e9efa98a catch socket errors 2009-02-04 13:43:54 -05:00
Dwight
fac2ee626f mamke getCollectionNames() in the shell prettier
overlogging
2009-02-03 14:42:53 -05:00
Aaron
c684aab51f Merge branch 'master' of ssh://aaron@git.10gen.com/data/gitroot/p 2009-02-02 09:54:23 -05:00
Aaron
4c8dd6e18f Handle more signals in shell 2009-02-02 09:53:14 -05:00
Eliot Horowitz
9bcacf16c0 pragma pack changes for solaris
slight change this will break other platforms, will test
2009-02-01 22:21:32 -05:00
Aaron
0468be26d9 Merge branch 'master' of ssh://aaron@git.10gen.com/data/gitroot/p 2009-01-30 15:20:10 -05:00
Aaron
3613577677 Better kill 2009-01-30 15:15:48 -05:00
Eliot Horowitz
120f859704 change password digest
from md5( "mongo" + pwd )
to md5( username + ":mongo:" + pwd )
2009-01-30 15:06:12 -05:00
Aaron
02e22ec1c2 Merge branch 'master' of ssh://aaron@git.10gen.com/data/gitroot/p 2009-01-30 14:57:45 -05:00
Aaron
898a1f66c2 Add slaveOk option 2009-01-30 14:51:31 -05:00
Eliot Horowitz
e5d97f404a cleaning 2009-01-30 13:00:47 -05:00
Aaron
d4ac72577d Kill child mongod instances if killed abruptly 2009-01-30 12:37:46 -05:00
Eliot Horowitz
6a70dab62b hint 2009-01-30 10:05:07 -05:00
Eliot Horowitz
a0a79507ea slighly less spam 2009-01-29 20:41:05 -05:00
Aaron
c00066302a Merge branch 'master' of ssh://aaron@git.10gen.com/data/gitroot/p 2009-01-29 16:32:18 -05:00
Aaron
ee7c4694ec Get rid of hudson compiler warning 2009-01-29 16:31:58 -05:00
Eliot Horowitz
4a01d610ad $where fix 2009-01-29 15:58:54 -05:00
Aaron
011cd2af7d Fix includes for linux 2009-01-29 12:21:58 -05:00
Aaron
04e53d2dc0 Typo 2009-01-29 12:02:32 -05:00
Aaron
dfbacf162d Merge 2009-01-29 11:54:49 -05:00
Aaron
8c926dd74d Add startMongod() and stopMongod() functions to mongo 2009-01-29 11:46:29 -05:00
Eliot Horowitz
584d2d36f2 Merge branch 'master' of ssh://git.10gen.com/data/gitroot/p 2009-01-29 09:24:15 -05:00
Eliot Horowitz
b4fdd9d0e8 listFiles 2009-01-29 09:05:46 -05:00
Eliot Horowitz
d5f45b0d52 not need so many v8:: around 2009-01-29 08:57:02 -05:00
Eliot Horowitz
14e3b3c714 --host and --port 2009-01-29 07:46:43 -05:00
Aaron
d3e776d48b Add 'nodb' arg to shell 2009-01-28 10:25:16 -05:00
Eliot Horowitz
0222a3cae8 bad command line handling 2009-01-28 09:13:55 -05:00
Eliot Horowitz
98874fe4fb use argv[0] instead of dbshell 2009-01-28 08:14:23 -05:00
Eliot Horowitz
0c15cfb0ce Date.timeFunc 2009-01-27 14:27:41 -05:00
Eliot Horowitz
d969b31abd show 20 instead of 10 things 2009-01-27 11:41:23 -05:00
Dwight
f4ff93369f change include path 2009-01-27 11:35:11 -05:00
Eliot Horowitz
76deb4703a fix some compiler warnings 2009-01-27 09:54:20 -05:00
Eliot Horowitz
4ffda5ea25 dbshell 2009-01-26 22:19:15 -05:00