dwight
7e434caa8d
_unlock call must come after adding view to view list. also move ismongommf check within so that it is checked from the open invocation
2011-01-15 21:14:32 -05:00
Mathias Stearn
8ed6dc3da7
don't lock if not MongoMMF
2011-01-14 18:01:29 -05:00
Mathias Stearn
e3ae36e076
Fix link errors
2011-01-12 20:22:46 -05:00
Mathias Stearn
6564496c10
Close all files should clear NamespaceDetailsTransient
2011-01-12 16:16:25 -05:00
dwight
bcb127567d
faster
2011-01-08 14:43:04 -05:00
dwight
13b139f6c1
remove _TESTINTENT
2011-01-08 13:22:45 -05:00
Eliot Horowitz
b828d21630
ran astyle SERVER-2304
2011-01-04 00:40:41 -05:00
Dwight
479fa7c3cc
errnum
2010-12-30 15:35:40 -05:00
Dwight
c325d0f44f
findbypath for MongoFile
2010-12-30 15:34:30 -05:00
Dwight
5a3296db37
dur assure journal files are kept long enough before rotation out
2010-12-20 14:10:43 -05:00
dwight
03984ad0df
tweak name
2010-12-06 20:25:20 -05:00
Eliot Horowitz
d6d1539385
use zero SERVER-2154
2010-11-27 23:48:28 -05:00
dwight
6c3eb1ddd4
dur remap
2010-11-27 15:25:08 -05:00
Dwight
86a7618917
dur
2010-11-17 13:59:29 -05:00
dwight
cc3ffa4b1a
beginning of a READONLY memorymappedifle option
2010-09-09 17:30:40 -04:00
dwight
0562697eea
elim warning
2010-09-09 07:55:47 -04:00
dwight
72a9a42bdb
compile
2010-09-09 07:46:22 -04:00
dwight
b904b0dd1d
towards a new capped impl; NamespaceDetails readability; cleaning
2010-09-09 07:12:17 -04:00
Mathias Stearn
29596f5f96
Revert "make sure only one flush happens at a time SERVER-1163 "
...
This reverts commit 6dbd8594e5
.
2010-08-30 11:22:34 -04:00
Dwight
c9f6f7b02e
rawOut appends a linefeed (for better or worse). so dont pass it one as long as it does that
2010-08-26 12:11:47 -04:00
Mathias Stearn
6dbd8594e5
make sure only one flush happens at a time SERVER-1163
2010-08-25 14:34:03 -04:00
Eliot Horowitz
f0359e7b54
MongoFile::flushAll won't lock for entire flushing time
2010-07-26 16:06:49 -04:00
dwight
e3d9b61b12
cleaning
2010-07-01 17:52:07 -04:00
Alberto Lerner
b133d42c47
I think we want to unlock here
2010-06-26 07:20:00 -07:00
Mathias Stearn
c6ed1eb85f
Block writes when not holding write-lock in debug build
2010-06-24 11:05:10 -04:00
Dwight Merriman
37f2cc06a5
rwlocks participate in mutexDebugger
2010-05-27 15:21:10 -04:00
Eliot Horowitz
12f8eb6877
move locks to concurrency
2010-05-26 01:09:14 -04:00
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