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

295 Commits

Author SHA1 Message Date
Eliot Horowitz
27ee2bb5d8 MINOR win compile 2009-12-16 16:31:31 -05:00
Eliot Horowitz
edfe77b6ef quorom connection (for sharding config) checkpoint 2009-12-16 16:26:49 -05:00
Mathias Stearn
dcf3a10eea Start using Date_t. Can anyone think of a better name? 2009-12-09 12:00:17 -05:00
Eliot Horowitz
d6c69369c0 make quiet suppress connection warnings SERVER-455 2009-12-03 22:44:34 -05:00
Eliot Horowitz
b4029bed07 fix client compile 2009-12-03 17:48:18 -05:00
Eliot Horowitz
d3ece690ef add optional options param to more methods 2009-12-02 16:56:37 -05:00
Eliot Horowitz
95c080d719 Model::remove() 2009-12-02 16:36:32 -05:00
Eliot Horowitz
76ff6851af fix warning 2009-11-30 10:35:54 -05:00
Dwight
e60c3ea61c Merge branch 'master' of git@github.com:mongodb/mongo 2009-11-16 15:55:17 -05:00
Dwight
37540835ac compile visual studio 2009-11-16 15:55:03 -05:00
Eliot Horowitz
c8b48787b5 some docs 2009-11-16 15:53:40 -05:00
Eliot Horowitz
1557dc68d0 starting work on quorum server 2009-11-13 17:23:41 -05:00
Eliot Horowitz
0630b33340 moved some methods from DBClientBase to DBClientWithCommands 2009-11-12 13:56:28 -05:00
Eliot Horowitz
a3da013fab question about SERVER-193 2009-11-10 16:55:26 -05:00
dwight
d8a0dc4bdb Merge branch 'master' of git@github.com:mongodb/mongo 2009-11-05 15:18:40 -05:00
dwight
626aea91df minor / make a method private 2009-11-05 15:18:13 -05:00
Eliot Horowitz
974dc89ad5 some threaded options for doing queries remotely 2009-11-03 22:53:32 -05:00
Eliot Horowitz
6d5e43755d sharded map-reduce basic test works SHARDING-37 2009-11-03 11:40:00 -05:00
Eliot Horowitz
3a1c9831c1 some sharded query re-factoring 2009-11-03 10:35:48 -05:00
Eliot Horowitz
b98067022f added getContentType and getField to gridfs 2009-10-31 11:23:29 -04:00
Mathias Stearn
d27c8505ea all client files now marked as Apache 2.0. SERVER-329. 2009-10-27 15:59:37 -04:00
Eliot Horowitz
e8466f3dc5 flag to update multiple objects with $ operators SERVER-268 2009-10-21 22:54:11 -04:00
Eliot Horowitz
c1500cab8d cimpile fix 2009-10-17 21:48:16 -04:00
Eliot Horowitz
10e82eae73 remove muliple with _id range remove SERVER-365 2009-10-16 15:33:56 -04:00
Mathias Stearn
8b431fb9a9 move gridfs buffer from stack to heap 2009-10-16 13:57:03 -04:00
Mathias Stearn
d3961ff7fa default contentType for GridFS file from buffer. MINOR 2009-10-16 13:57:03 -04:00
Mathias Stearn
6880a8788d support creating GridFS files from buffers in addition to files. SERVER-312 2009-10-16 11:25:55 -04:00
Mathias Stearn
5bcc5521bb GridFS::removeFile now removes all files with a matching name 2009-10-14 18:12:55 -04:00
Mathias Stearn
349132d1f5 mongofiles get now fetches the latest version of the file 2009-10-14 17:43:18 -04:00
Mathias Stearn
23bbf840ba add uploadDate and contentType fields to GridFS files generated in C++. Add --type option to mongofiles. 2009-10-14 17:43:18 -04:00
Mathias Stearn
b7a086e1ad mongofiles now supports stdin/out for put/get operations 2009-10-14 17:43:18 -04:00
Dwight
a3670180a9 minor missing space 2009-10-14 16:41:23 -04:00
Mathias Stearn
ec8def516b minor doc fix 2009-10-14 15:54:13 -04:00
Dwight
ff54f16271 add Connection class
beginnings that is
2009-10-09 14:59:44 -04:00
Dwight
cb060f8ce3 comment 2009-10-02 16:58:04 -04:00
Dwight
04104f13a1 add mapreduce() to the c++ client api.
not yet tested.
2009-10-02 16:55:47 -04:00
Eliot Horowitz
95baa00d45 exists( ns ) 2009-10-01 17:15:33 -04:00
dwight
5a6273902f Merge branch 'master' of git@github.com:mongodb/mongo 2009-09-25 10:30:29 -04:00
Eliot Horowitz
8b91377b09 dropIndex, dropIndexes, getIndexes, reIndex for c++ driver SERVER-314 2009-09-24 17:41:09 -04:00
Mike Dirolf
df64c0563b allow different local and remote filenames for gridfs client storeFile method 2009-09-24 16:31:18 -04:00
dwight
089c12e9b7 Merge branch 'master' of git@github.com:mongodb/mongo 2009-09-18 20:12:33 -04:00
Eliot Horowitz
88795bc740 better error message 2009-09-18 14:20:44 -04:00
dwight
3972446b76 minor comments 2009-09-15 20:06:19 -04:00
dwight
b21aea9c7f Merge branch 'master' of git@github.com:mongodb/mongo 2009-09-14 23:48:51 -04:00
Eliot Horowitz
11ee78fc03 don't complain about ScopedDBConnection if the underlying connection failed 2009-09-14 14:31:46 -04:00
dwight
68c24f3595 getLastErrorDetailed() for C++ client 2009-09-14 12:31:47 -04:00
Eliot Horowitz
6d95f3cd1c onHandedOut 2009-09-14 11:33:20 -04:00
Eliot Horowitz
4040d9799f add hooks for connection pool 2009-09-11 16:10:48 -04:00
Eliot Horowitz
bbc07f85ec don't allow db.eval on sharded collections SHARDING-27 2009-09-10 10:36:11 -04:00
Eliot Horowitz
e8d20f47ac count of missing namespace returns 0 2009-09-01 17:28:15 -04:00
Eliot Horowitz
6281fe4ee7 const BSONObj 2009-09-01 17:08:57 -04:00
Dwight
2706a28123 begin cmdline.h 2009-08-25 10:24:44 -04:00
Michael Stephens
45683d835d getMetadata() for GridFile
Signed-off-by: Eliot <eliot@10gen.com>
2009-08-20 10:53:37 +08:00
Michael Stephens
11b657f18d getUploadDate() and getMD5() for GridFile
Signed-off-by: Eliot <eliot@10gen.com>
2009-08-20 08:44:31 +08:00
Dwight
03a3531a42 Merge branch 'master' of git@github.com:mongodb/mongo 2009-08-13 13:26:20 -04:00
Dwight
f0c2c8003f don't allow dropping an index $ collection
http://jira.mongodb.org/browse/SERVER-217
2009-08-13 13:26:03 -04:00
Eliot Horowitz
9f0fde9d31 clean warning MINOR 2009-08-13 13:25:19 -04:00
Eliot Horowitz
0cfa107650 DBCclientPaired::slaveConn - for getting the slave side of a paired connection 2009-08-12 16:54:57 -04:00
Dwight
17042c403e use $snapshot in the clone / repl code where appropriate
also adds snapshot to the C++ client driver
2009-08-10 16:57:59 -04:00
Eliot Horowitz
8bbd6eadf6 implement DBClientPaire::connect( string s ) 2009-08-10 14:00:03 -04:00
Mike Dirolf
32f5ebb4c6 minor: whitespace 2009-08-06 14:12:32 -04:00
Eliot Horowitz
488086994c inShutdown() method so spider monkey can shutdown cleanly 2009-08-05 17:15:04 -04:00
Eliot Horowitz
79be4b64a3 clean up dbexit with an ExitCode enum SERVER-183 2009-08-05 16:00:27 -04:00
Dwight
733ba1e11d first cut off NumberLong (64 bit ints) in BSON 2009-08-03 14:16:49 -04:00
Eliot Horowitz
73be2f8454 add getCollectionNames and getDatabaseNames to c++ client SERVER-196 2009-07-29 13:13:01 -04:00
Eliot Horowitz
6746cd2493 get rid of Option_ALLFLAGS 2009-07-29 11:16:33 -04:00
alanw
b0dbe2735b Added removeFile() for GridFS. Also modified input strings to be "const string&"
Signed-off-by: mongodb <mongodb@10gen.com>
2009-06-17 09:33:28 +08:00
alanw
b610cf77f4 Use a more portable method of opening and reading binary files (O_RDONLY interpreted differently under windows)
Signed-off-by: mongodb <mongodb@10gen.com>
2009-06-17 09:33:14 +08:00
Eliot Horowitz
6b1d43b3b1 finish SERVER-101 move BSONObjIterator::_more to BSONObjIterator::more 2009-06-09 12:32:04 -04:00
Eliot Horowitz
00df88c21d moved BSONObjIterator::more to BSONObjectIteratore::moreWEOO()
added _more temporarily
SERVER-101
2009-06-09 11:43:04 -04:00
Eliot Horowitz
5514c49e39 make lognoquiet and make --quit not print connect/disconnect 2009-06-05 10:35:04 -04:00
Eliot Horowitz
5eb08a4478 change min/max to minKey maxKey 2009-05-22 15:05:13 -04:00
Aaron
206a330b50 remove outdated 'mongod <arg>' style tests, add mongod msg test to smokeClient 2009-05-19 10:55:13 -04:00
Dwight
1d59989c5e kill warning windows 2009-05-13 10:52:52 -04:00
Aaron
13ac1f5ee4 remove client dependency on pcre 2009-05-11 14:57:26 -04:00
Aaron
83b3f358f1 make smokeClient work with nonstandard port, path 2009-05-11 12:41:49 -04:00
Aaron
e8ea876e61 use BSONObj() directly in test MINOR 2009-05-06 13:17:07 -04:00
Eliot Horowitz
a5d4d15090 creeateDirectClient method 2009-05-01 14:35:42 -04:00
Aaron
af59c4ea9e core implementation of min/max query parameters 2009-04-30 16:25:36 -04:00
Aaron
80847b561c add unique option when creating index in c++, js drivers; basic unique key unit tests 2009-04-20 13:51:54 -04:00
Aaron
ee6ef61ca4 clear index cache in c++ client on dropping collection / database 2009-04-16 11:27:10 -04:00
Eliot Horowitz
a2479cdf80 access to raw resultFlags 2009-04-13 10:47:42 -04:00
Aaron
c1ae28ca0d remove explicit deleteIndexes from c++ client 2009-04-07 15:27:00 -04:00
Eliot Horowitz
fe27fdc75a make simpleCommand public since its handy and harmless 2009-03-30 13:25:58 -04:00
Aaron
e6c4c94d69 More correct timestamp update check 2009-03-30 11:09:51 -04:00
Eliot Horowitz
b32c181aac use stack instead of queue for keeping connections so you get the same one in a single threaded env. 2009-03-30 09:47:58 -04:00
Eliot Horowitz
601bc1d866 log(2) when create a new connection for pooling 2009-03-29 22:52:17 -04:00
Eliot Horowitz
1b13a418fa _id assignment fix 2009-03-26 17:28:16 -04:00
Eliot Horowitz
fd9c26a74c safer object management 2009-03-26 15:14:24 -04:00
Eliot Horowitz
0195f478e5 Model::_id protected instead of private 2009-03-26 09:42:03 -04:00
Eliot Horowitz
265436b22d make Model::save,load virtual 2009-03-25 17:28:54 -04:00
Eliot Horowitz
e91ed0e854 add DBClientBase::getServerAddress() 2009-03-25 17:08:36 -04:00
Aaron
d0520ccafb Use string instead of char * in client code 2009-03-24 16:58:33 -04:00
Aaron
5a276ef621 Replace emptyObj with BSONObj() 2009-03-19 16:23:04 -04:00
Aaron
6d10afbd49 Find requested oplog entry starting from tail of log 2009-03-18 17:24:10 -04:00
Eliot Horowitz
2a1c3b1492 get rid of Model::defaultServer since its not being used and complicates some things 2009-03-12 17:12:24 -04:00
Aaron
d4fad81da1 Add explicit getMore to client interface 2009-03-10 16:49:17 -04:00
Aaron
d3dfec4799 Initialize members 2009-03-10 13:08:27 -04:00
Eliot Horowitz
b1a1e98294 make timestamp work on update, and a test 2009-02-28 18:55:04 -05:00
Eliot Horowitz
0dc0ff0541 make unserialze take a const BSONObj& 2009-02-27 10:37:13 -05:00