Dwight
bd28578ab8
stdafx->pch
2010-04-27 15:27:52 -04:00
Eliot Horowitz
161fb6d591
use rw lock for mmapped files SERVER-1029
2010-04-19 12:09:58 -04:00
Mathias Stearn
dfa0c41aa1
Prevent calls to pure virtual functions in MongoFile SERVER-988
...
The issue was that during construction and destruction an object's vtable
points to the current type rather than the most derived type. ~MongoFile() tried
to take a lock, but the function holding the lock tried to use the object,
calling either the close() or flush() virtual methods. The solution was to move
the call that needed the lock to the most derived class's destructor. The
easiest way to increase the probability of this crash is by using --syncdelay 1.
2010-04-08 19:57:48 -04:00
Mathias Stearn
89e671b0a2
attempt to debug failing tests
2010-04-08 15:58:49 -04:00
Dwight
666fb52bdd
abstract out mmf administration
2010-04-02 11:28:32 -04:00
Dwight
f70df5352b
cleaning
2010-03-30 10:11:28 -04:00
Aaron
c971842a55
Revert "Revert " SERVER-695 don't destroy static global mutexes""
...
This reverts commit eb7cde3e75
.
Conflicts:
db/instance.h
2010-03-15 09:42:01 -07:00
Eliot Horowitz
9c8858d85a
printMemInfo helper, fix darwin virtual size reporting
2010-02-20 16:16:17 -05:00
Eliot Horowitz
d7280381df
some threadsafety on memory mapped file static methods
2009-11-30 10:52:02 -05:00
Eliot Horowitz
f9d031f12c
fsync command part of SERVER-255
2009-11-11 13:41:45 -05:00
Eliot Horowitz
9f77794640
MemoryMappedFile::flushAll
2009-11-11 13:02:04 -05: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
9e7a31fae1
Merge branch 'master' of git@github.com:mongodb/mongo
...
Conflicts:
db/dbcommands.cpp
2009-10-07 12:46:02 -04:00
Eliot Horowitz
b733978054
MemoryMappedFile::getTotalMapped
2009-10-07 12:42:43 -04:00
Dwight
9589c84edf
killOp() wasn't working with validate
2009-10-07 11:51:13 -04:00
Eliot Horowitz
727fc307f9
more verbose shutdown logging to try and figure out why shutdown is very slow sometimes
2009-10-05 15:09:52 -04:00
Dwight
02959549f2
elim warning windows
2009-08-13 12:28:30 -04:00
Eliot Horowitz
bd018f61d5
long instead of int for file size
2009-07-09 16:56:34 -04:00
Dwight
18285e76de
Windows:
...
db->mongod in vcproj
suppress a couple warnings
2009-05-28 13:16:23 -04:00
Aaron
f86d33372d
update size in map and allocate asap interfaces
2009-04-15 16:11:54 -04:00
Aaron
c99883578c
Revert "Revert "allocate files in background""
...
This reverts commit e577a2c64e
.
2009-04-15 16:10:21 -04:00
Aaron
e577a2c64e
Revert "allocate files in background"
...
This reverts commit 0033bd91df
.
2009-04-15 15:40:16 -04:00
Aaron
0033bd91df
allocate files in background
2009-04-15 11:58:38 -04:00
Aaron
8974979813
Clean up signal handling, fixing some potential hangs
2009-02-02 09:52:14 -05:00
Eliot Horowitz
9406c59f80
broke mmap into different .cpp files for different platforms
2009-01-29 17:22:59 -05:00
Aaron
a84942a485
Reset file pointer
2009-01-26 11:44:34 -05:00
Eliot Horowitz
3e7985c5d6
changed verbose to logLevel and added log(int)
2009-01-20 14:30:59 -05:00
unknown
c0961eb637
suppress a couple compiler warnings
2009-01-18 19:13:12 -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
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
42a807d3ee
minor logging prettiness
2008-12-31 10:01:55 -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
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
112b19a5d9
log cleanup
2008-08-02 17:02:41 -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
45d933fc4a
compiles
2008-07-09 16:34:45 -04:00
Dwight
ee68a8e252
--nocursors
2008-07-09 12:32:11 -04:00
Dwight
fc0e91f68e
detect mmap failure properly; sigsegv fixes
2008-07-01 13:13:41 -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
3051b961ca
dos2unix
2008-06-06 09:43:15 -04:00
Dwight
d67a202c14
sai hack
2008-04-30 19:31:54 -04:00