Commit Graph

53 Commits

Author SHA1 Message Date
Eliot Horowitz
60034218a7 typo 2011-01-26 09:28:33 -05:00
Eliot Horowitz
3923e7c47e reset views so calling MongoFile close multiple times is safe 2011-01-26 09:27:12 -05:00
Eliot Horowitz
99fc51205f fix mmap error reporting 2011-01-25 15:24:18 -05:00
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
Eliot Horowitz
51ca8ee218 FileAllocator cleaning 2011-01-09 01:45:33 -05:00
Mathias Stearn
a46248bdf6 remap errors should be fatal (posix only) 2011-01-05 12:43:05 -05:00
Mathias Stearn
42c57258cd Don't unmap in remapPrivateView (posix only) 2011-01-05 12:43:05 -05:00
Eliot Horowitz
b828d21630 ran astyle SERVER-2304 2011-01-04 00:40:41 -05:00
dwight
0830dde457 compile 2010-12-30 15:38:54 -05:00
Eliot Horowitz
249952b8ae clean dependencies 2010-12-30 13:41:15 -05:00
Mathias Stearn
b5426b7948 Make remap have same address as original.
Dwight will do Windows version
2010-12-15 19:21:12 -05:00
Mathias Stearn
cd692f0af1 indentation and braces 2010-12-15 19:21:12 -05:00
dwight
b2e46b3793 compile 2010-12-06 20:52:43 -05:00
dwight
00484e8a32 mmap not finished on posix for dur yet working on it 2010-12-06 20:36:05 -05:00
dwight
edd80da26b compile 2010-11-27 17:39:16 -05:00
Dwight
416127768f private views dur 2010-11-16 16:40:56 -05:00
dwight
56f4efb5dd createReadonlyMap method 2010-11-15 16:00:41 -05:00
dwight
c53135c447 clean up error messages for users 2010-10-24 17:19:20 -04:00
Eliot Horowitz
627246489b compile linux - guess semantics 2010-10-01 16:45:18 -04:00
Eliot Horowitz
27ff50615e implement copy on write test methods for linux 2010-09-14 15:51:23 -04:00
dwight
72a9a42bdb compile 2010-09-09 07:46:22 -04:00
Eliot Horowitz
f0359e7b54 MongoFile::flushAll won't lock for entire flushing time 2010-07-26 16:06:49 -04:00
Mathias Stearn
c6ed1eb85f Block writes when not holding write-lock in debug build 2010-06-24 11:05:10 -04:00
Eliot Horowitz
f20f5b76f1 print filename for windows flush failure SERVER-1107 2010-05-10 11:26:08 -04:00
Dwight
bd28578ab8 stdafx->pch 2010-04-27 15:27:52 -04:00
Eliot Horowitz
98f7edd4cd compile 2010-04-24 21:42:37 -04:00
Dwight Merriman
38d1bd875c fix compile for unix 2010-04-24 14:27:15 -04:00
Eliot Horowitz
ae5e03de12 fix madvise if 2010-02-04 21:32:38 -05:00
Eliot Horowitz
caadcee6f9 ifdef madvise 2010-02-04 17:24:22 -05:00
Eliot Horowitz
424e7d9585 sequential option for mmap SERVER-607 2010-02-04 17:12:14 -05:00
Eliot Horowitz
315995b8c7 better debugging for weird mmap issue 2009-12-28 17:46:41 -05:00
Eliot Horowitz
0ab8149a8e uassert/massert take error code SERVER-112 2009-12-28 16:43:43 -05:00
Eliot Horowitz
16b07128f3 fail faster on bad mmap data 2009-12-23 15:55:07 -05:00
Eliot Horowitz
8f1e01b0e4 macro for errno so messages are consistent and have full debugging 2009-12-21 10:06:14 -05:00
Eliot Horowitz
7564ceb774 better 32-bit error message 2009-12-01 16:48:40 -05:00
Eliot Horowitz
d7280381df some threadsafety on memory mapped file static methods 2009-11-30 10:52:02 -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
e48db1f60a replace cerr with cout for all server files 2009-10-16 11:39:59 -04:00
Eliot Horowitz
bd018f61d5 long instead of int for file size 2009-07-09 16:56:34 -04:00
Aaron
64c5d55c59 don't seg fault when run out of disk space 2009-04-23 11:16:54 -04:00
Aaron
f86d33372d update size in map and allocate asap interfaces 2009-04-15 16:11:54 -04:00
Aaron
e8c1ce4dc1 Revert "Revert "do preallocation after initial allocation too, make file allocator interface more flexible""
This reverts commit 668cf57c52.
2009-04-15 16:10:34 -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
668cf57c52 Revert "do preallocation after initial allocation too, make file allocator interface more flexible"
This reverts commit 5d9cb32605.
2009-04-15 15:39:57 -04:00
Aaron
5d9cb32605 do preallocation after initial allocation too, make file allocator interface more flexible 2009-04-15 14:57:37 -04:00
Aaron
0033bd91df allocate files in background 2009-04-15 11:58:38 -04:00
Aaron
59d34a2832 Validate length of allocated file 2009-04-01 10:51:55 -04:00
Aaron
892296218a Validate length of allocated file 2009-04-01 10:50:31 -04:00
Eliot Horowitz
62cab8c320 get rid of warnings 2009-02-06 15:08:53 -05:00