0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-11-30 00:56:44 +01:00
Commit Graph

590 Commits

Author SHA1 Message Date
Dwight
0b210bfa0e check if closed properly, recstore 2009-02-06 14:33:26 -05:00
Aaron
3b05df2850 Merge branch 'master' of ssh://aaron@git.10gen.com/data/gitroot/p 2009-02-06 14:27:10 -05:00
Dwight
52eb04828c File class 2009-02-06 13:30:19 -05:00
Dwight
94f125e855 new pagewriter
File class
sleepmillis fixed
2009-02-06 13:29:57 -05:00
Aaron
3792032a1d Longer stacktraces (esp nice with --noOptimization scons flag) 2009-02-06 13:26:12 -05:00
Eliot Horowitz
6d48156c23 throw exception when socket fails 2009-02-03 16:48:12 -05:00
Eliot Horowitz
3aa74384ae grid/message -> util/message 2009-02-03 13:30:28 -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
8974979813 Clean up signal handling, fixing some potential hangs 2009-02-02 09:52: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
Eliot Horowitz
97aab58d4b Revert "UUID class"
This reverts commit e9fc9ce950.
2009-01-30 16:21:39 -05:00
Eliot Horowitz
6bb4abc017 Revert "better for linux"
This reverts commit c6acd530d4.
2009-01-30 16:21:30 -05:00
Eliot Horowitz
c6acd530d4 better for linux 2009-01-30 16:14:04 -05:00
Eliot Horowitz
e9fc9ce950 UUID class 2009-01-30 15:58:44 -05:00
Eliot Horowitz
c3d792be34 getHeader 2009-01-30 15:05:28 -05:00
Eliot Horowitz
bc0133da89 method for taking a string and computing string digest 2009-01-30 15:05:18 -05:00
Eliot Horowitz
df2b701b0f option to use main memory instead of memory mapped files
really only for testing
though i guess is kind of cool if you want to use the db purely for an in memory cache
scons --mm to build
2009-01-29 22:31:13 -05:00
Eliot Horowitz
c18f2e4927 clean up mmap includes 2009-01-29 22:21:33 -05:00
Dwight
dcf90d4def sort() for c++ client 2009-01-29 18:38:35 -05:00
Eliot Horowitz
9406c59f80 broke mmap into different .cpp files for different platforms 2009-01-29 17:22:59 -05:00
Dwight
3366714892 better error msgs
--sysinfo
2009-01-29 16:06:22 -05:00
unknown
b29806e4a1 comments 2009-01-26 21:15:08 -05:00
Aaron
a84942a485 Reset file pointer 2009-01-26 11:44:34 -05:00
Dwight
75189ad04a compile windows 2009-01-26 09:33:20 -05:00
Aaron
046e7f9acf Add HostByName test 2009-01-21 15:50:49 -05:00
Aaron
9a36738d0c Don't convert an ip to another ip; only convert a hostname to an ip 2009-01-21 15:32:58 -05:00
Eliot Horowitz
90d35cded7 Merge branch 'master' into temp_auth
Conflicts:

	db/security_commands.cpp
2009-01-21 10:26:37 -05:00
Aaron
da79a09df9 Don't print chars as ints 2009-01-20 17:21:47 -05:00
Eliot Horowitz
3e7985c5d6 changed verbose to logLevel and added log(int) 2009-01-20 14:30:59 -05:00
Eliot Horowitz
fbb8eb10ec using strings 2009-01-20 11:37:15 -05:00
unknown
c0961eb637 suppress a couple compiler warnings 2009-01-18 19:13:12 -05:00
Aaron
4dd2a1765f Remove out dated asserts; we may be reading an existing hashtable from a file, and the asserts are invalid in that case 2009-01-16 16:42:00 -05:00
Aaron
1524c3e44b Enhance BSONObj::validate() 2009-01-16 15:13:46 -05:00
Aaron
261a467aa5 Replaced our #defined cout with mongo::out() 2009-01-15 11:26:38 -05:00
Aaron
90d45238aa Indent all lines within namespaces one level 2009-01-15 10:17:11 -05:00
Eliot Horowitz
938c2c07a8 some cleaning so that client doesn't have to link against java and pcre 2009-01-15 10:08:20 -05:00
Aaron
248a6dd8de Replace tab indentation with spaces 2009-01-14 17:17:24 -05:00
Aaron
ad1f6b3cbd Put our code in 'mongo' namespace 2009-01-14 17:09:51 -05:00
Aaron
efe3736b94 Handle preexisting file with different length 2009-01-12 10:22:58 -05:00
Eliot Horowitz
491559d8c5 map entire file by default 2009-01-11 20:23:58 -05:00
Dwight
4d456a1833 forgot 2009-01-08 09:37:18 -05:00
Dwight
1f737827b0 Merge branch 'master' of ssh://git.10gen.com/data/gitroot/p 2009-01-07 13:31:23 -05:00
Dwight
db20305fa1 md5 2009-01-07 13:31:16 -05:00
Aaron
601be4dd4f recv full http request, implement simple rest post handling, refactor dbclient code 2009-01-07 10:08:12 -05:00
Dwight
6e9a533d67 more threadsafe 2009-01-06 18:57:01 -05:00
Dwight
1cc123561a try not to die in segv printouts with deadlocks and such 2009-01-06 18:25:38 -05:00
Dwight
babed98050 compile on windows 2009-01-02 10:39:59 -05:00
Eliot Horowitz
5c22ff7d85 parameter/method parsing 2008-12-31 14:58:42 -05:00
Dwight
e1a8364867 Merge branch 'master' of ssh://git.10gen.com/data/gitroot/p 2008-12-31 10:02:01 -05:00
Dwight
42a807d3ee minor logging prettiness 2008-12-31 10:01:55 -05:00
Eliot Horowitz
9dde507fa7 better url parsing 2008-12-30 21:58:36 -05:00
Eliot Horowitz
6993396fed implemented url 2008-12-30 21:48:42 -05:00
Dwight
a9bbd5681b nicer logging
--verbose
2008-12-29 11:47:20 -05:00
Aaron
b7cbd30112 Replace tab indentation with spaces 2008-12-28 20:28:49 -05:00
Aaron
24d149cd28 Merge branch 'master' of ssh://aaron@git.10gen.com/data/gitroot/p 2008-12-16 18:12:34 -05:00
Aaron
99bf277c18 g++ check return type, fix some warnings 2008-12-16 18:12:25 -05:00
Dwight
b63867ab3c cleanup how we use boost.
eliminate boost hpp's from this repository
see 10gen.com/wiki/pub.db.contrib.windows
2008-12-16 17:48:48 -05:00
Aaron
fc7da15c54 Add -Wsign-compare for g++, clean up a few warning messages 2008-12-12 14:19:49 -05:00
unknown
8e600e8f1b bug with the new NumericInt datatype fixed
keys were misordered in btree under certain condition.

bug could be manifested previously with:

  local.src.test.ed.db.stress.hunga()
  go(1,7109.450806359954)
2008-12-06 14:49:27 -05:00
Dwight
74f630aacc timing capabilities 2008-12-05 16:45:10 -05:00
Dwight
0fe5e50be0 web console work 2008-12-04 14:33:18 -05:00
Dwight
60b769a8cb replication fixes -- "first: true" support (local.dbinfo.*); clean up class name 2008-12-02 14:24:45 -05:00
unknown
5ca796e0dd a little more on web 2008-11-30 21:00:54 -05:00
unknown
dfb8f562ae web console beginnings 2008-11-29 20:01:58 -05:00
Dwight
ccd67f3bf3 beginnings of some numeric compare testing. 2008-11-21 12:08:11 -05:00
Dwight
580369978b class UnitTest was broken 2008-11-18 09:30:31 -05:00
Dwight
a4968427e2 bug fix with $natural
timeout on connects w/dbgrid faster
2008-11-03 20:42:59 -05:00
unknown
9bc872695d catch asserts and report error to client on a query
various dbgrid work incremental
background job class
2008-10-29 16:48:03 -05:00
Dwight
1875ee8151 more dbgrid work 2008-10-24 17:51:28 -04:00
Dwight
87d0ed26c4 allow an array for sort order 2008-10-14 14:02:43 -04:00
Dwight
362fc87a72 windows: compile in release mode
but doesn't work yet, fix boost lib
2008-09-23 10:56:33 -04:00
Dwight
a280883fee minilex off 2008-09-19 17:56:31 -04:00
Dwight
5f163f72b8 dbgrid.vcproj missing; more work on dbgrid 2008-09-11 09:15:34 -04:00
Dwight
90d0885116 Merge branch 'master' of ssh://git.10gen.com/data/gitroot/p
Conflicts:

	db/makefile
2008-09-09 14:30:22 -04:00
Dwight
5deec92469 endian check capability
repl work in progress
cleanup
2008-09-04 10:33:56 -04:00
Dwight
8cac7e4dc4 advertise new dbs for replication; handle user asserts on repl 2008-09-03 16:43:00 -04:00
Dwight
776387ea1b Merge branch 'master' of ssh://git.10gen.com/data/gitroot/p
Conflicts:

	db/repl.h
2008-08-11 15:16:54 -04:00
Dwight
236575ca95 minor cleanup pragmas 2008-08-11 14:53:08 -04:00
dwight
112b19a5d9 log cleanup 2008-08-02 17:02:41 -04:00
dwight
bc24777c11 replication fixes plus some log cleanup 2008-08-02 14:58:15 -04:00
Dwight
234844724c checkpoitning work 2008-07-31 13:37:32 -04:00
Dwight
3363fe311c collection options are retained when db is cloned;
those options now listed in system.namespaces;
more repl work
2008-07-28 13:51:39 -04:00
Dwight
e011494cbc cloneDatabase() 2008-07-27 18:36:47 -04:00
Eliot Horowitz
50e8a1a3f5 added AGPL License Header to every file
take 2
2008-07-20 17:37:33 -04:00
Eliot Horowitz
383a862ad3 Revert "added AGPL License Header to every file"
Oops - added multiple times.

This reverts commit 608769fd03.
2008-07-20 17:34:22 -04:00
Eliot Horowitz
608769fd03 added AGPL License Header to every file 2008-07-20 17:33:02 -04:00
Dwight
c3adb4946f check for out of memory 2008-07-17 13:42:20 -04:00
Dwight
51bb240a58 --nojni option. 2008-07-11 12:27:23 -04:00
Dwight
45d933fc4a compiles 2008-07-09 16:34:45 -04:00
Dwight
017d3126bc logging wasnt' threadsafe 2008-07-09 16:29:58 -04:00
Dwight
ee68a8e252 --nocursors 2008-07-09 12:32:11 -04:00
Dwight
1bf45a0843 fix deleteindexes and drop issue
minor hashtab fix
ensureindex works now if collection DNE
2008-07-07 18:57:04 -04:00
Dwight
fc0e91f68e detect mmap failure properly; sigsegv fixes 2008-07-01 13:13:41 -04:00
Dwight
0bc5be592d validate a little smarter 2008-06-29 22:33:59 -04:00
Dwight
d3e3876751 stack traces 2008-06-27 14:35:05 -04:00
Dwight
58d84f51f2 close datafiles on any sort of termination (including seg fault) 2008-06-26 15:30:54 -04:00
Dwight
2fc57c4159 change to do ref counts for JSObj objects.
should fix OS X
dangerous change.
2008-06-25 17:13:40 -04:00
Dwight
26dea1fcd6 db.dropDatabase(); 2008-06-24 17:31:51 -04:00
Dwight
5080d260b0 horrific cursor code gone 2008-06-08 10:58:19 -04:00
Dwight
3051b961ca dos2unix 2008-06-06 09:43:15 -04:00
Dwight
877b72efcd mysterious disappearing blog post fix 2008-06-06 09:38:22 -04:00
Dwight
d67a202c14 sai hack 2008-04-30 19:31:54 -04:00
Dwight
8210548d7f dbproblem.log file 2008-04-25 17:24:27 -04:00
Dwight
bdacd93bb8 profiling 2008-03-16 20:59:19 -04:00
yellow
64cf047baf Merge branch 'master' of /data/gitroot/p/
Conflicts:

	util/sock.h
2008-02-29 18:09:19 +00:00
yellow
67f1992ff0 fix for nalge on linux 2008-02-29 13:07:28 -05:00
yellow
d70f23c37f Merge branch 'master' of /data/gitroot/p/ 2008-02-28 03:30:03 +00:00
Dwight
158889dccd intr.curs fix;
new latent cursor implementation (actually works perhaps)
2008-02-27 18:17:48 -05:00
yellow
dc20e53904 Merge branch 'master' of /data/gitroot/p/ 2008-02-25 22:18:01 +00:00
Dwight
661156fd1a timestampts 2008-02-24 11:29:42 -05:00
yellow
9eb797ca4d fix for linux for nagle 2008-02-17 16:27:41 +00:00
Eliot Horowitz
803b7e32d9 i think this will work on linux and mac 2008-02-13 00:18:35 -05:00
Dwight
d58f630358 drop 2008-02-11 11:37:11 -05:00
Dwight
329020083a assertions etc. 2008-02-10 16:28:48 -05:00
Dwight
eef739da55 gt lt index support 2008-01-27 14:51:47 -05:00
yellow
573b11ecd4 prebind 2008-01-24 16:09:24 +00:00
Dwight
a186665dd7 separate dbs 2008-01-20 17:42:26 -05:00
Dwight
f94a9d3fa5 update key bug fix 2007-12-14 12:48:47 -05:00
Dwight
5ab9ae9d47 use tcp
and an add index key fix
2007-12-08 15:50:47 -05:00
Dwight
fb7d5b718c timing 2007-12-01 11:44:42 -05:00
Dwight
6b0f00c292 query for null / undefined values
rather large transport fixes for concurrent connections and other cleanup of that.
2007-11-30 21:30:24 -05:00
Dwight
3199971604 signal 2007-11-27 16:18:56 -05:00
Dwight
fd2993de59 alignment 2007-11-27 13:40:08 -05:00
Dwight
cbf7e7db04 jumbo frames on localhost 2007-11-26 19:38:14 -05:00
Dwight
31311aeb81 indexing keys in an array 2007-11-21 21:44:57 -05:00
Dwight
a07fb60cd4 bugs
readable output
2007-11-18 13:33:00 -05:00
Dwight
ab654fb9ed transport 2007-11-17 21:10:00 -05:00
Dwight
a1e5147225 bugs 2007-11-13 16:44:01 -05:00
Dwight
ddc39462df dumpmemory 2007-11-12 10:10:43 -05:00
Dwight
cac61b2674 btree cursors 2007-11-10 16:46:30 -05:00
Dwight
931e633836 boost 2007-11-05 14:44:26 -05:00
Dwight
426ea61db2 diagnostic 2007-11-04 16:35:08 -05:00
Dwight
c017641fc5 make system.namespaces a real table 2007-11-02 21:30:40 -04:00
Dwight
e9a5075a9b namespace querying 2007-11-01 22:34:44 -04:00
Dwight
23b122d8ca Merge branch 'master' of ssh://tnt.robotlake.com:1707/Users/erh/gitroot/p 2007-10-30 11:37:40 -04:00
Dwight
fc316ba2be update, delete 2007-10-30 11:35:17 -04:00
Eliot Horowitz
b623ea8c7f warning 2007-10-28 23:06:25 -04:00
Eliot Horowitz
5640683c67 works on mac 2007-10-28 23:04:25 -04:00
Dwight
5380b6e591 stuff 2007-10-28 14:42:59 -04:00
Dwight
e73188b551 first commit 2007-10-19 19:35:48 -04:00