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

400 Commits

Author SHA1 Message Date
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
Eliot Horowitz
1811d1e47f don't let getLastError fail silently 2009-09-11 16:11:00 -04:00
Eliot Horowitz
236f13cec5 more help MINOR 2009-09-10 10:40:38 -04:00
Eliot Horowitz
780d6dfe11 simple distinct SERVER-127 2009-09-09 17:33:27 -04:00
Eliot Horowitz
89d5e0fe45 shell help 2009-09-09 16:52:02 -04:00
Eliot Horowitz
0cd6749dea help MINOR 2009-09-07 11:16:52 -04:00
Eliot Horowitz
f222e44e1a renameCollection command 2009-09-07 11:14:48 -04:00
Eliot Horowitz
c53e909ced cleaning and don't allow group on a sharded collection SHARDING-26 2009-09-04 11:00:43 -04:00
Eliot Horowitz
4ea89d9bda Array.shuffle 2009-09-03 10:03:25 -04:00
Eliot Horowitz
7c11076e73 can't shard system namespaces 2009-09-01 15:59:19 -04:00
Eliot Horowitz
870972f4a9 multi-line test MINOR 2009-09-01 13:50:54 -04:00
Eliot Horowitz
81bfbb9faa fix comments and multiple lines in the shell 2009-09-01 13:50:08 -04:00
dwight
5e31aa0f19 rename
Command addserver->addshard
Collection config.servers->config.shards
2009-08-29 15:08:22 -04:00
Eliot Horowitz
cd1fe6505a make shell use exec instead of invoke 2009-08-28 13:26:23 -04:00
Eliot Horowitz
5799c79d78 better error message 2009-08-28 12:34:56 -04:00
Eliot Horowitz
b219b209e0 clean up shell ensureIndex api and put more in help() 2009-08-26 10:22:55 -04:00
Eliot Horowitz
358b5e638c compile windows MINOR 2009-08-25 17:26:43 -04:00
Eliot Horowitz
662f01eb15 compile MINOR 2009-08-25 17:22:00 -04:00
Eliot Horowitz
e90c98587b try jmp signal handler 2009-08-25 17:00:01 -04:00
Eliot Horowitz
39a40f8f42 fix " in shell and ctrl-c takes you to outer loop 2009-08-25 16:11:51 -04:00
Eliot Horowitz
efb43a15c1 tell if javascript has been completed, if not - do a line feed 2009-08-25 13:54:01 -04:00
Eliot Horowitz
9a0818a69d add totalSize command 2009-08-24 17:13:15 -04:00
Eliot Horowitz
1f08223ab7 make shell use group cmd by default (can use groupeval if you want)
fix group where no key specified
2009-08-24 11:59:00 -04:00
Eliot Horowitz
1e7ade52ac Merge branch 'master' of git@github.com:mongodb/mongo 2009-08-24 11:55:06 -04:00
Eliot Horowitz
a2e000830f runMongoProgram 2009-08-24 11:54:06 -04:00
Dwight
f67e06ba64 improve help for group()

2009-08-24 11:42:15 -04:00
Eliot Horowitz
42504fc904 make assert.soon take a string to eval 2009-08-24 10:21:34 -04:00
Eliot Horowitz
fd2155d554 fallotu from removing methods from Array 2009-08-24 10:10:11 -04:00
Eliot Horowitz
b078f98360 remove methods in Array.prototype so for ( x in [] ) works 2009-08-23 23:33:17 -04:00
Eliot Horowitz
e1928bfda5 some safety for other JS impls MINOR 2009-08-21 01:36:41 -04:00
Eliot Horowitz
f0a26f673b skip empty lines 2009-08-20 13:23:21 -04:00
Eliot Horowitz
61ecff1e95 update visual studio js code 2009-08-19 12:10:57 -04:00
Eliot Horowitz
19c885c5a8 better error handling 2009-08-19 12:10:32 -04:00
Eliot Horowitz
fcf1ca0afa make a group cmd that takes the same arguments as old db.eval version
still using js reduce function, but considerably faster
2009-08-19 11:51:16 -04:00
Eliot Horowitz
92820c7cfb getLastError output for writes SERVER-240 2009-08-17 16:54:47 -04:00
dwight
4120dfc568 fix checks that operations cannot be performed on slaves; also, allow read operations on
--slave instances (but not repl pair nonmasters)
2009-08-17 16:13:13 -04:00
Eliot Horowitz
e11d9c7efb db.version() for server version and in help SERVER-200 2009-08-14 17:55:17 -04:00
Eliot Horowitz
4f1bf94a5e increase timeout to start mongod MINOR 2009-08-14 13:50:28 -04:00
Eliot Horowitz
de170c2bba clean up assert code MINOR 2009-08-14 13:33:45 -04:00
Eliot Horowitz
bc193c4f59 noprealloc for sharding tests for speed MINOR 2009-08-14 13:03:02 -04:00
Eliot Horowitz
115e9e42e1 better file handling in shell 2009-08-14 11:06:10 -04:00
Eliot Horowitz
7b9da727ba compile on 10.4 SERVER-231 2009-08-12 14:54:53 -04:00
Eliot Horowitz
d804f7f3ee add collstats command SERVER-215 2009-08-12 13:53:52 -04:00
Eliot Horowitz
e3cfc2264a added currentOp/killOp 2009-08-11 12:59:00 -04:00
Eliot Horowitz
a9e20d2dfd $snapshot in shell SERVER-227 2009-08-11 10:52:20 -04:00
Eliot Horowitz
5025bb7637 beter output for (Min|Max)Key 2009-08-11 04:54:58 -04:00
Aaron Staple
63b8f32e13 Merge branch 'master' of git@github.com:mongodb/mongo 2009-08-11 01:43:03 -04:00
Eliot Horowitz
e44b51ee69 make copyDatabase use admin db automatically SERVER-222 2009-08-10 13:31:48 -04:00
Eliot Horowitz
d4961e1575 fix search on $ref , $id SERVER-223 2009-08-10 11:10:15 -04:00
Eliot Horowitz
71aa2443a3 nicer error reporting 2009-08-10 10:25:43 -04:00
Mike Dirolf
a38fe7f2f2 minor: fix some bugs in arg handling 2009-08-07 16:02:56 -04:00
Mike Dirolf
ee964dcbc9 minor: check if there were any files given 2009-08-07 13:14:50 -04:00
Mike Dirolf
ae3312f1cc towards boost::po - needs testing 2009-08-07 10:43:39 -04:00
Mike Dirolf
e3cefee81d minor: whitespace 2009-08-06 14:15:18 -04:00
Eliot Horowitz
909a6bfd7a fix shutdownServer secutiy check MINOR 2009-08-05 17:05:59 -04:00
Aaron Staple
f76fbbc402 BUG SERVER-184 mode for dropping duplicate records when creating unique index; correct index cache update behavior when createIndex called by ensureIndex fails 2009-08-05 16:02:20 -04:00
Aaron Staple
24a6ae09d7 disable data file preallocation for pairing/repl tests 2009-08-01 14:54:20 -04:00
Eliot Horowitz
8be85b3e48 fix gratuitous slowness in Map (for group) SERVER-189 2009-07-29 14:20:40 -04:00
Eliot Horowitz
b9721f7a1f put .dbshell in $HOME so can read it from anywhere SERVER-190 2009-07-28 11:19:13 -04:00
Eliot Horowitz
9ff7fa1d89 throw an exception if arguments are passed to draopDatabase() 2009-07-23 20:51:01 -04:00
Eliot Horowitz
d6d3ee0e8d mongo usage docs : file names have to end in .js 2009-07-22 16:03:50 -04:00
Mike Dirolf
3e637e9c7c shell cannot insert key names starting with $ or containing . (including embedded documents) 2009-07-21 15:08:45 -04:00
Mike Dirolf
c7b0dcfed3 minor: whitespace 2009-07-21 14:41:23 -04:00