Commit Graph

231 Commits

Author SHA1 Message Date
dwight
d735d2d2db Merge branch 'master' of git@github.com:mongodb/mongo 2010-01-24 10:26:37 -05:00
dwight
b6bc172fa3 comment 2010-01-24 10:26:24 -05:00
Eliot Horowitz
059ebd4b6a rename DBContext to Client::Context 2010-01-17 16:57:35 -05:00
dwight
07c26f78ea fix error logging msg 2010-01-14 17:26:06 -05:00
Eliot Horowitz
718ec488d5 get rid of clientIsEmpty() and add isEmpty() to Datbase 2010-01-14 13:17:32 -05: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
54b7dbe7c3 MaxClientLen -> MaxDatabaseLen 2009-12-31 16:34:27 -05:00
Eliot Horowitz
d531f77f67 nsToClient -> nsToDatabase 2009-12-31 16:31:07 -05:00
Eliot Horowitz
5f36804299 stop using stringstream for logging 2009-12-29 23:30:29 -05:00
Eliot Horowitz
0ab8149a8e uassert/massert take error code SERVER-112 2009-12-28 16:43:43 -05:00
Eliot Horowitz
2c1085d3a7 better logging for repl problems 2009-12-22 10:00:47 -05:00
Aaron
e344ab3280 MINOR TEMP log logCollection command object for debugging 2009-12-10 10:13:33 -08:00
Dwight
4390797b88 make query optimizer map thread-safe 2009-12-09 18:13:36 -05:00
Dwight
f9184738d3 more renaming 2009-12-09 16:57:53 -05:00
Dwight
ad9d8bbdb4 clean up MutexInfo 2009-12-03 13:12:51 -05:00
dwight
8a26ff4f8d checkpoitn a little sync work 2009-11-28 11:50:46 -05:00
dwight
8ca31804d2 better message 2009-11-06 08:18:44 -05:00
Dwight
bfa27ae2b3 Merge branch 'master' of git@github.com:mongodb/mongo 2009-10-21 16:00:55 -04:00
Dwight
844d96c19f allow more indexes
do not revert to an earlier db version or you will have problems
2009-10-21 16:00:40 -04:00
Eliot Horowitz
4774b56bf2 refactoring updateObjects return to be cleaner and so can work with multi-object update SERVER-268 2009-10-21 15:18:21 -04:00
Dwight
8edc124418 comment 2009-10-19 13:29:12 -04:00
Eliot Horowitz
349961ae9c move oplogSize to CmdLine 2009-10-16 23:32:34 -04:00
Dwight
01f1f6915d move CurOp into Client and make inprog handle multiple in progress 2009-10-16 15:36:34 -04:00
Eliot Horowitz
7a0324acad comment about repl and id index MINOR 2009-10-16 10:20:48 -04:00
Dwight
ddcf5eeb32 refactor a little 2009-10-14 16:29:32 -04:00
Dwight
16f8b77c5e move the var 'database' inside Client object 2009-10-14 14:34:38 -04:00
Dwight
b5a86240a9 comment minor 2009-10-14 11:01:29 -04:00
Eliot Horowitz
a3d54ef5e4 was correct in its bizarre fashion before
Revert "replication see why strange code is the way it is added assert"

This reverts commit 4d613fb1f4.
2009-10-13 17:13:51 -04:00
Dwight
4d613fb1f4 replication see why strange code is the way it is added assert
or am i just not reading it right
2009-10-13 16:26:29 -04:00
Dwight
2d934d1006 move curNs to Client object 2009-10-13 16:01:02 -04:00
Dwight
cf7a86e0f9 make lasterror threadsafe
rename Connection -> Client
lasterror code easier to read
bunch of windows warnings eliminated
2009-10-12 15:12:16 -04:00
Dwight
ff54f16271 add Connection class
beginnings that is
2009-10-09 14:59:44 -04:00
Eliot Horowitz
ff170c0f9f use timestamp for replication instead of Date 2009-10-09 13:10:04 -04:00
Eliot Horowitz
17da656d91 fail fast on oplog already existing 2009-10-05 16:26:19 -04:00
Eliot Horowitz
c2b148ad2f cleaner output MINOR 2009-10-05 15:18:04 -04:00
Eliot Horowitz
0742697d44 print out oplog size when creating 2009-10-05 15:16:06 -04:00
Dwight
1a53fbf2ed fix bug where isMaster() returned false when should have been true 2009-09-22 13:45:42 -04:00
Dwight
20ce663892 adaptive replication sleep time
and log much cleaner for repl
2009-09-22 10:10:02 -04:00
Dwight
879e7b153e more CmdLine object 2009-08-25 14:35:22 -04:00
Dwight
2706a28123 begin cmdline.h 2009-08-25 10:24:44 -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
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
abb40a551d got rid of exit() calls 2009-08-07 15:37:50 -04:00
Eliot Horowitz
79be4b64a3 clean up dbexit with an ExitCode enum SERVER-183 2009-08-05 16:00:27 -04:00
Aaron Staple
3a337ff121 repl support for fast rename plus test 2009-07-29 19:10:34 -04:00
Aaron Staple
5dcdc3a59c fast collection renaming within a database 2009-07-29 15:53:14 -04:00
dwight
0bdf5ae605 fixed: slave shouldn't report ismaster true 2009-07-20 11:23:12 -04:00
Eliot Horowitz
00df88c21d moved BSONObjIterator::more to BSONObjectIteratore::moreWEOO()
added _more temporarily
SERVER-101
2009-06-09 11:43:04 -04:00
Aaron
df4d7bc751 log periodically while cloning a collection, log sync point when applying oplog 2009-05-28 15:37:45 -04:00