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

334 Commits

Author SHA1 Message Date
Eliot Horowitz
4557de5376 can't inline isOk 2010-03-11 11:40:27 -05:00
Eliot Horowitz
43ab678aa0 read only command support in ClusterSyncConnection 2010-03-11 11:20:20 -05:00
Aaron
eb7cde3e75 Revert "SERVER-695 don't destroy static global mutexes"
This reverts commit 714ec2fdc8.
2010-03-10 00:39:26 -08:00
Aaron
714ec2fdc8 SERVER-695 don't destroy static global mutexes 2010-03-09 23:59:10 -08:00
Aaron
00684b8c1b SERVER-693 don't duplicate db name when creating collection 2010-03-02 16:21:51 -08:00
yellow
863ccc38bf old g++ fix 2010-03-01 20:40:22 -05:00
Aaron
218036b2a4 SERVER-580 add putBack() to db client cursor 2010-03-01 10:07:01 -08:00
Eliot Horowitz
dd19206172 batchSize option for js and c++ 2010-02-27 11:16:26 -05:00
Mathias Stearn
11c49cb195 nToReturn is now a limit in C++ driver SERVER-537 2010-02-26 22:40:50 -05:00
Eliot Horowitz
a347ce9b85 change Command locking config 2010-02-26 14:38:51 -05:00
Dwight
32c065676e Merge branch 'master' of git@github.com:mongodb/mongo 2010-02-23 11:06:53 -05:00
Dwight
eb75c9529f comments 2010-02-23 11:06:26 -05:00
Eliot Horowitz
8fbc9c34ac move dummy createDirectClient 2010-02-17 11:03:29 -05:00
Eliot Horowitz
62aad0ee18 refactoring runQuery / UserQueryOp part 1 2010-02-15 22:33:27 -05:00
Dwight Merriman
10287f9e03 Merge branch 'master' of github.com:mongodb/mongo 2010-02-12 19:10:17 -05:00
Dwight Merriman
af43db2aca better error message 2010-02-12 15:56:17 -05:00
Eliot Horowitz
2f406ce762 test for http interface 2010-02-12 11:33:07 -05:00
Richard Kreuter
afa21134b2 Merge branch 'licensing' 2010-02-09 16:48:47 -05:00
Richard Kreuter
b96e4b2976 Add license headers to .cpp & .h files that lacked them. MINOR 2010-02-09 16:48:21 -05:00
Dwight
7e736f67c1 Cloner: don't dbtemprelease too often 2010-02-09 15:32:49 -05:00
Ilya Martynov
c751a4a047 Performance fix: pass set<ServerAndQuery> as a const reference to
SerialServerClusteredCursor and ParallelSortClusteredCursor
constructors instead of passing a copy
2010-02-09 11:33:10 +08:00
Dwight
397e511e3a check for null 2010-02-04 15:46:11 -05:00
Aaron
0131eaf887 Add debugging support for multiple destructors, and some guards to prevent this condition from arising 2010-02-01 15:41:04 -08:00
Dwight
0a3f5af2c3 fix vcproj; typo 2010-01-20 14:34:53 -05:00
Eliot Horowitz
2ff6749889 Quorum -> SyncClusterConnection 2010-01-19 17:36:01 -05:00
Eliot Horowitz
1ba0144d4f when scanning serially, if a chunk had no results, stopped prematurely SHARDING-71 2010-01-15 01:27:01 -05:00
Eliot Horowitz
dd742c42fe some more debugging for sharding MINOR 2010-01-14 10:41:41 -05:00
Aaron
f1f1493304 SERVER-531 killCursors no longer affects lastError 2010-01-12 11:38:00 -08:00
Dwight
4d8a09b25a cleanup comments prepwork for some repl improvements 2010-01-04 11:15:09 -05:00
Dwight
7d26553061 a little code cleanup / renameing 2010-01-03 16:37:38 -05:00
Eliot Horowitz
d531f77f67 nsToClient -> nsToDatabase 2009-12-31 16:31:07 -05:00
dwight
6f4bfb2e14 Merge branch 'master' of git@github.com:mongodb/mongo
Conflicts:

	SConstruct
	db/dbinfo.h
2009-12-29 13:45:46 -05:00
dwight
24e2542d95 remove dbinfo.h/cpp 2009-12-29 13:42:45 -05:00
Eliot Horowitz
fa8961c3e8 Exception classess need codes too SERVER-112 2009-12-28 17:06:07 -05:00
Eliot Horowitz
0ab8149a8e uassert/massert take error code SERVER-112 2009-12-28 16:43:43 -05:00
Dwight
15535d0906 compile windows / vcproj 2009-12-22 16:42:49 -05:00
Eliot Horowitz
4771ba64e3 Merge branch 'master' of git@github.com:mongodb/mongo 2009-12-17 16:55:19 -05:00
Eliot Horowitz
d85fa3e076 quorum checkpoint 2 2009-12-17 16:55:13 -05:00
Dwight
7ac119e062 build vis studio 2009-12-17 16:18:00 -05:00
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