Commit Graph

54 Commits

Author SHA1 Message Date
Mathias Stearn aa547ad8f2 Don't put 256k array on stack. Caused overflow on OpenBSD 2010-07-20 14:12:33 -04:00
Richard Kreuter c73493e69e More error verbosity in file_allocator. 2010-07-15 16:28:30 -04:00
Frank DENIS ab204d9f24 Make MongoDB compile and work on OpenBSD (gcc4 archs, tested on OpenBSD-current/amd64). 2010-06-22 06:49:49 +08:00
Dwight Merriman c1ecb70ef3 cleaning db.vcxproj 2010-06-01 08:56:06 -04:00
Dwight Merriman edc97846b7 try to fix linux 2010-05-26 00:54:53 -04:00
Eliot Horowitz f947bce011 don't define __linux__ on sun 2010-04-27 15:48:38 -04:00
Dwight bd28578ab8 stdafx->pch 2010-04-27 15:27:52 -04:00
Eliot Horowitz ef6b1e355e tweaks for posix_fallocate 2010-04-27 14:02:11 -04:00
Eliot Horowitz 241ba14f4d sun 2010-04-27 13:29:26 -04:00
Eliot Horowitz 2e596ac2bb windows 2010-04-27 13:28:31 -04:00
Eliot Horowitz 3f8a0d553a use posix_fallocate on linux SERVER-1057 2010-04-27 13:18:51 -04:00
Dwight Merriman 07757ed88a missed one errnowithdescription 2010-04-24 14:22:43 -04:00
Dwight Merriman 0c7e5438e0 get rid of macros in log.h 2010-04-24 14:03:14 -04:00
Aaron c457973dc6 SERVER-695 expose boost object to work better with older boost versions 2010-03-15 09:56:10 -07: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 c39b3ddb54 make allocation handle smaller os buffers 2010-02-04 12:07:33 -05:00
Eliot Horowitz f7901fdc2c better errno reporting 2010-02-04 10:59:13 -05:00
Aaron 16d1616853 SERVER-541 make file allocation start log more precise 2010-01-25 12:11:08 -08:00
Aaron d377e7ad99 SERVER-228 assert rather than exit when run out of disk space 2010-01-11 11:24:20 -08:00
unknown 84d1ca75f7 SERVER-255 lock on fsync for snapshotting
will be doc'd later today
2010-01-02 11:01:47 -05:00
Eliot Horowitz 0ab8149a8e uassert/massert take error code SERVER-112 2009-12-28 16:43:43 -05:00
Eliot Horowitz bbd33359d9 Merge branch 'master' of git@github.com:mongodb/mongo
Conflicts:
	util/mmap_posix.cpp
2009-12-21 10:06:52 -05:00
Eliot Horowitz 8f1e01b0e4 macro for errno so messages are consistent and have full debugging 2009-12-21 10:06:14 -05:00
Dwight 9a7f5fb2d0 comment 2009-12-18 17:47:40 -05:00
Mathias Stearn d27c8505ea all client files now marked as Apache 2.0. SERVER-329. 2009-10-27 15:59:37 -04:00
Dwight 71af757e56 use posix_fadvise when we populate a new datafile 2009-09-21 10:05:03 -04:00
Dwight 8de1e62a37 minor comments 2009-09-01 10:31:12 -04:00
Eliot Horowitz 79be4b64a3 clean up dbexit with an ExitCode enum SERVER-183 2009-08-05 16:00:27 -04:00
Eliot Horowitz bd018f61d5 long instead of int for file size 2009-07-09 16:56:34 -04:00
Aaron 6a2a8d385f comments MINOR 2009-05-28 15:22:24 -04:00
Aaron c03a7186cf file allocator compile windows MINOR 2009-05-28 12:59:27 -04:00
Aaron 83be71666f wait for file allocator to finish before removing files 2009-05-27 17:23:47 -04:00
Eliot Horowitz b8c3d46986 support compilation under FreeBSD 7.x
merged from goosmurf
Conflicts:

	README
2009-05-27 10:44:45 -04:00
Aaron b7c67bbf4a check exception when cleaning up file on failed allocation MINOR 2009-05-12 14:27:23 -04:00
Aaron f2b9332f97 when exhaust disk space, delete file and exit immediately 2009-05-12 13:38:33 -04:00
Aaron 9adf110885 clean up locking in file allocator; unlike in doc example, lock may be held when notification sent 2009-05-12 12:18:43 -04:00
Aaron 56e2e866bd hopefully compile win 2009-04-16 10:33:21 -04:00
Dwight 3fce2036d8 compile visual studio windows 2009-04-16 09:16:43 -04:00
Aaron f86d33372d update size in map and allocate asap interfaces 2009-04-15 16:11:54 -04:00
Aaron ab078d2e96 Revert "Revert "add errno header for non osx MINOR""
This reverts commit ae473981f5.
2009-04-15 16:10:54 -04:00
Aaron a8abf5e6ef Revert "Revert "fix compile warning, rename condition_variable -> condition to make old boost happy MINOR""
This reverts commit 836e92e7dd.
2009-04-15 16:10:48 -04:00
Aaron 9e6d8a769d Revert "Revert "abort allocation on failed write""
This reverts commit 9ccebf3f4c.
2009-04-15 16:10:41 -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 9ccebf3f4c Revert "abort allocation on failed write"
This reverts commit c511cb6139.
2009-04-15 15:39:49 -04:00
Aaron 836e92e7dd Revert "fix compile warning, rename condition_variable -> condition to make old boost happy MINOR"
This reverts commit 5dde63de12.
2009-04-15 15:39:28 -04:00
Aaron ae473981f5 Revert "add errno header for non osx MINOR"
This reverts commit 170106ace9.
2009-04-15 15:39:15 -04:00
Aaron 170106ace9 add errno header for non osx MINOR 2009-04-15 15:28:04 -04:00