summaryrefslogtreecommitdiff
path: root/src/include
AgeCommit message (Collapse)Author
2014-10-16Merge pull request #1274 from wiredtiger/basecfg-versionMichael Cahill
Basecfg version
2014-10-15MSVC doesn't yet support "%zu", replace with #defines.Keith Bostic
2014-10-15Merge branch 'develop' into json-loadAlex Gorrod
Conflicts: dist/s_string.ok src/include/extern.h src/utilities/util_load.c
2014-10-14Add more wording on upgrade/downgrade of databases.Keith Bostic
Add "config_base" configuration string to wiredtiger_open, controls the creation of the base-configuration file. Add a test, merge test_isnew.py and test_gethome.py plus the new test into test_home.py.:
2014-10-14Merge branch 'develop' into basecfg-versionKeith Bostic
2014-10-13Merged fallocate-restructure before merging Mark's changes: cherry pickKeith Bostic
9d7ffe7, 3ce43ba into develop.
2014-10-13Rename functions, and fix error handlingMark Benvenuto
2014-10-13Use a separate file handle for file truncation & allocationMark Benvenuto
2014-10-14Merge pull request #1273 from wiredtiger/fallocate-restructureMichael Cahill
Fallocate restructure
2014-10-13add config validation for Windows configMark Benvenuto
2014-10-13The upgrade configuration string is the same string to which we'reKeith Bostic
appending new configuration options, clarify that by only using one parameter.
2014-10-12Add support for upgrading configuration strings: leave the obsoleteKeith Bostic
version in the configuration list, but undocumented, and translate it to the new version by appending to the configuration string where the obsolete version was specified. Use "lsm_merge=boolean" as the example.
2014-10-12Revert POSIX OS changes from c5b71e5, reference #1254: that commitKeith Bostic
changed ftruncate calls on file handles where the file was also mapped (that is, a WiredTiger checkpoint was open in the object), to return EBUSY instead of doing the truncate. We use ftruncate() to extend files when fallocate/posix_fallocate are not available or when running on filesystems that don't support them (for example, ext3). I missed that use of ftruncate in the above commit, so note the above commit wasn't complete and we could call ftruncate on files where the file was also mapped into memory. I'm not willing to lock out file extension if a file is mapped. While there are known problems in combining file mapping and ftruncate on historic Linux systems, I don't know of any problems on current systems, so I'm removing this restriction until we see a failure. Reference #1267.
2014-10-12Make fallocate/posix_fallocate more configurable.Keith Bostic
When opening a file handle, add file-handle variables to note if fallocate/posix_fallocate calls are available and if they require locking. Also, fallocate/posix_fallocate are known to fail at run-time based on the underlying filesystem type. In that case, always return ENOTSUP from fallocate/posix_fallocate, resetting the file-handle information and falling back to ftruncate in the caller. Remove the implementation of __wt_fallocate() using ftruncate, we may have to re-acquire a lock when switching from a failed fallocate() call to a ftruncate() call, when extending the file from the block manager, so the caller has to do that work itself. Reference #1267.
2014-10-10Merge branch 'develop' into basecfg-versionKeith Bostic
2014-10-10Merge branch 'develop' into basecfg-versionKeith Bostic
2014-10-10MSVC & Clang Warning CleanupMark Benvenuto
FAllocate & FTruncate fixes
2014-10-10Merge pull request #1270 from markbenvenuto/backup_fixKeith Bostic
Fix backup on Windows by using O_BINARY
2014-10-10Fix backup on Windows by using O_BINARYMark Benvenuto
2014-10-10Split the wiredtiger_open configuration options into four sets:Keith Bostic
1. what the application can specify in the wiredtiger_open call, 2. the values allowed in the base-configuration file (same as the first set but with create, exclusive and use_environment_priv stripped out and version added), 3. the values allowed in the user-configuration file (same as the first set but with create, exclusive and use_environment_priv stripped out), 4. a superset of all possible wiredtiger_open configuration options. Modify the various tests to use the right configuration values. Add a version number to the base configuration file.
2014-10-10Move the utilities/util_getopt.c implementation of getopt(3) into theKeith Bostic
WiredTiger library, and convert all of the utilities and test programs to use it.
2014-10-09Update Windows configuration file to match current autoconf version.Keith Bostic
2014-10-09Abstract out the "is it an absolute path" function, and the pathKeith Bostic
separator string. Add tests for drive names to the Windows version of the absolute path function.
2014-10-09Abstract out the code to create a printable version of theKeith Bostic
process/thread IDs.
2014-10-09_MSC_VER won't be defined on gcc platforms.Keith Bostic
2014-10-09Guard include of os_windows.h, include os_windows.h before misc.h,Keith Bostic
get Windows #defines in early.
2014-10-09whitespaceKeith Bostic
2014-10-09Style script.Keith Bostic
2014-10-09Break long lines at 80 columns.Keith Bostic
2014-10-09Fix a few copyright notices, comment format.Keith Bostic
2014-10-09Merge branch 'windows_port' of https://github.com/markbenvenuto/wiredtiger ↵Keith Bostic
into markbenvenuto-windows_port
2014-10-09rebuild auto-generated filesKeith Bostic
2014-10-08Initial Windows PortMark Benvenuto
2014-10-08Add additional parameter to map/unmap functions to maintain more contextMark Benvenuto
2014-10-08Merge pull request #1260 from wiredtiger/lsm-compact-fixesMichael Cahill
Have LSM compact wait for in-progress merges to complete. #1259
2014-10-07Rename the WT_FH.refcnt field to be WT_FH.ref to match the newKeith Bostic
reference-count mapped field name.
2014-10-07Ftruncate is incompatible with file mapping on Windows, return EBUSY fromKeith Bostic
the OS layer if a file handle has a mapping and ftruncate is called. Change exclusive operations to close all open connection handles for a file object before performing the operation. Reference #1254.
2014-10-07Have LSM compact wait for in-progress merges to complete. #1259Susan LoVerso
2014-10-06Don't list the potential object types, it doesn't add information.Keith Bostic
2014-10-06Lint no longer needs its own versions of the flag atomic set/clear macros.Keith Bostic
2014-10-06Move the atomic versions of the flag set/clear macros back into hardware.h,Keith Bostic
they aren't currently compiler specific.
2014-10-04typo, repeated #define.Keith Bostic
2014-10-04We don't yet need anything other than single-byte versions of theKeith Bostic
atomic flag operations, simplify the world.
2014-10-04Add WT_STATIC_ASSERT calls to the atomic operation macros so we don'tKeith Bostic
accidentally call the wrong size macro.
2014-10-04push the lint version of the atomic ops.Keith Bostic
2014-10-04KNFKeith Bostic
2014-10-04Simplify gcc.h, don't repeat the GCC atomic builtins, just use one version.Keith Bostic
Break hardware.h up into gcc.h and lint.h (hardware.h is still there, but it's mostly empty). Remove need for gcc.h from various benchmarking/test programs.
2014-10-04STATIC_ASSERT is outside of the claimed WiredTiger name space (andKeith Bostic
far too likely to be seen in the field), prefix it with WT SIZE_CHECK is local to include/verify_build.h, make sure it stays there.
2014-10-04KNFKeith Bostic
2014-10-04Merge pull request #1256 from markbenvenuto/atomics_specificKeith Bostic
Add size specific atomics for 1, 4 & 8 byte atomic operations