<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/mongo.git/src/include/wiredtiger.in, branch mongodb-3.2.9</title>
<subtitle>github.com: mongodb/mongo.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mongo.git/'/>
<entry>
<title>WT-2760 Fix a bug in backup related to directory sync. Change the filesystem API to make durable the default  (#2867)</title>
<updated>2016-07-29T06:18:32+00:00</updated>
<author>
<name>Keith Bostic</name>
<email>keith.bostic@mongodb.com</email>
</author>
<published>2016-07-15T00:36:33+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mongo.git/commit/?id=82323cf72fe5c4806527120e2045cecaa0c16d74'/>
<id>82323cf72fe5c4806527120e2045cecaa0c16d74</id>
<content type='text'>
Change the default remove/rename calls to flush the enclosing directory.

Simplify the pluggable file system API by replacing the directory-sync method
with "durable" boolean argument to the remove, rename and open-file methods.

* Add "durable" arguments to relevant functions so that each remove or rename
call specifies its durability requirements.

* Switch the  WT_FILE_SYSTEM::fs_open_file type enum from WT_OPEN_FILE_TYPE,
with WT_OPEN_XXX names, to the WT_FS_OPEN_FILE_TYPE, with WT_FS_OPEN_XXX
names.

Switch the  WT_FILE_SYSTEM::fs_open_file flags from WT_OPEN_XXX names to
WT_FS_OPEN_XXX names.

* Replace the "bool durable" argument to WT_FILE_SYSTEM.fs_remove and
WT_FILE_SYSTEM.fs_rename with a "uint32_t flags" argument, and the
WT_FS_DURABLE flag.

* Remove a stray bracket.

(cherry picked from commit 11f018322c3f84552f2b1fe79f2ca9d6585577fb)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change the default remove/rename calls to flush the enclosing directory.

Simplify the pluggable file system API by replacing the directory-sync method
with "durable" boolean argument to the remove, rename and open-file methods.

* Add "durable" arguments to relevant functions so that each remove or rename
call specifies its durability requirements.

* Switch the  WT_FILE_SYSTEM::fs_open_file type enum from WT_OPEN_FILE_TYPE,
with WT_OPEN_XXX names, to the WT_FS_OPEN_FILE_TYPE, with WT_FS_OPEN_XXX
names.

Switch the  WT_FILE_SYSTEM::fs_open_file flags from WT_OPEN_XXX names to
WT_FS_OPEN_XXX names.

* Replace the "bool durable" argument to WT_FILE_SYSTEM.fs_remove and
WT_FILE_SYSTEM.fs_rename with a "uint32_t flags" argument, and the
WT_FS_DURABLE flag.

* Remove a stray bracket.

(cherry picked from commit 11f018322c3f84552f2b1fe79f2ca9d6585577fb)
</pre>
</div>
</content>
</entry>
<entry>
<title>WT-2711 Change statistics log configuration options (#2834)</title>
<updated>2016-07-29T06:12:16+00:00</updated>
<author>
<name>Keith Bostic</name>
<email>keith.bostic@mongodb.com</email>
</author>
<published>2016-07-08T04:42:41+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mongo.git/commit/?id=307e63aac7a2f89ea80a7e8a806ab19166697a6e'/>
<id>307e63aac7a2f89ea80a7e8a806ab19166697a6e</id>
<content type='text'>
No longer support setting the statistics_log path in WT_CONNECTION::reconfigure.
No longer support setting a custom name for statistics files, only allow a destination directory.
Be more explicit about which logging configuration options are allowed in WT_CONNECTION::reconfigure.

The aim of these changes is to avoid situations where applications that embed WiredTiger allow their users to overwrite unexpected files on a file system.

This potentially requires an upgrade step for applications that were specifying a non-standard file name component for statistics log file names, it's not backward compatible.
(cherry picked from commit 9cc5d0f4b18753c6cd5cfcfda11a4e3fa7505d9e)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
No longer support setting the statistics_log path in WT_CONNECTION::reconfigure.
No longer support setting a custom name for statistics files, only allow a destination directory.
Be more explicit about which logging configuration options are allowed in WT_CONNECTION::reconfigure.

The aim of these changes is to avoid situations where applications that embed WiredTiger allow their users to overwrite unexpected files on a file system.

This potentially requires an upgrade step for applications that were specifying a non-standard file name component for statistics log file names, it's not backward compatible.
(cherry picked from commit 9cc5d0f4b18753c6cd5cfcfda11a4e3fa7505d9e)
</pre>
</div>
</content>
</entry>
<entry>
<title>SERVER-24580 Add more eviction stats to track efficiency. (#2830)</title>
<updated>2016-06-23T07:29:40+00:00</updated>
<author>
<name>Michael Cahill</name>
<email>michael.cahill@mongodb.com</email>
</author>
<published>2016-06-23T07:29:40+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mongo.git/commit/?id=1f4aaa4490a82cf947afdabbb9214ee5b1850d13'/>
<id>1f4aaa4490a82cf947afdabbb9214ee5b1850d13</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>WT-2408 Windows error translation layer (#2819)</title>
<updated>2016-06-23T05:21:50+00:00</updated>
<author>
<name>Keith Bostic</name>
<email>keith.bostic@mongodb.com</email>
</author>
<published>2016-06-23T05:21:50+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mongo.git/commit/?id=fef0765ef50f4407e5219c10b700bc999bb9467e'/>
<id>fef0765ef50f4407e5219c10b700bc999bb9467e</id>
<content type='text'>
Build a Windows-to-POSIX/ANSI error translation layer.

Replace the read-only error mapping to WT_NOTFOUND and WT_PERM_DENIED
with EACCES and ENOENT.

Windows no longer needs its own version of __wt_strerror(), move the POSIX implementation from os_posix/os_errno.c to os_common/os_errno.c.  Rename os_win/os_errno.c to os_win/os_winerr.c to avoid a collision.

Windows now has DWORD types in prototypes, split the Windows/POSIX extern.h files. (This actually cleans up some noise, previously we had to sort the OS prototypes to remove duplicates, which wasn't trivial.)

Add the WT_EXTENSION_API.map_windows_error method to map Windows system codes to POSIX/ANSI system codes.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Build a Windows-to-POSIX/ANSI error translation layer.

Replace the read-only error mapping to WT_NOTFOUND and WT_PERM_DENIED
with EACCES and ENOENT.

Windows no longer needs its own version of __wt_strerror(), move the POSIX implementation from os_posix/os_errno.c to os_common/os_errno.c.  Rename os_win/os_errno.c to os_win/os_winerr.c to avoid a collision.

Windows now has DWORD types in prototypes, split the Windows/POSIX extern.h files. (This actually cleans up some noise, previously we had to sort the OS prototypes to remove duplicates, which wasn't trivial.)

Add the WT_EXTENSION_API.map_windows_error method to map Windows system codes to POSIX/ANSI system codes.</pre>
</div>
</content>
</entry>
<entry>
<title>WT-2541 Add stats showing active readers and writers (#2793)</title>
<updated>2016-06-20T19:43:56+00:00</updated>
<author>
<name>David Hows</name>
<email>howsdav@gmail.com</email>
</author>
<published>2016-06-20T19:43:56+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mongo.git/commit/?id=5495e02aaadf637331d093a09784f96d688ce23e'/>
<id>5495e02aaadf637331d093a09784f96d688ce23e</id>
<content type='text'>
* WT-2541 Add stats showing active readers and writers

* Fix use of RET_MSG instead of ERR_MSG

* Change where we increment the active r/w stats

* Add "active fsync" stat

* Add new "Thread State" stat section, add fsync_io stat

* KNF

* Make thread stats not backwards breaking. Add atomic stat functions

* Add ThreadState stats to system and evict groups

* KNF
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* WT-2541 Add stats showing active readers and writers

* Fix use of RET_MSG instead of ERR_MSG

* Change where we increment the active r/w stats

* Add "active fsync" stat

* Add new "Thread State" stat section, add fsync_io stat

* KNF

* Make thread stats not backwards breaking. Add atomic stat functions

* Add ThreadState stats to system and evict groups

* KNF
</pre>
</div>
</content>
</entry>
<entry>
<title>WT-2319 Add units to stats descriptions, change variable names (#2795)</title>
<updated>2016-06-10T11:23:22+00:00</updated>
<author>
<name>Sulabh Mahajan</name>
<email>sulabh.mahajan@mongodb.com</email>
</author>
<published>2016-06-10T11:23:22+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mongo.git/commit/?id=398b1da2eabe604f0d9d3d4bb1a058b7d260af1e'/>
<id>398b1da2eabe604f0d9d3d4bb1a058b7d260af1e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>WT-2671 dump more information about the file layout in verify debug mode (#2755)</title>
<updated>2016-06-09T14:44:42+00:00</updated>
<author>
<name>Keith Bostic</name>
<email>keith.bostic@mongodb.com</email>
</author>
<published>2016-06-09T14:44:42+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mongo.git/commit/?id=3ed78d64fa38162bfe7a8e294403460e848db48d'/>
<id>3ed78d64fa38162bfe7a8e294403460e848db48d</id>
<content type='text'>
* WT-2671: dump more information about the file layout in verify debug mode

Dump the checkpoint final and correct sizes when loading checkpoints in
verify dump_XXX mode.

Dump the checkpoint alloc, discard and avail lists when loading
checkpoints in verify dump_XXX mode.

Fix a bug, convert the count of tree pages from uint32_t to uint64_t,
there's no reason pages counts can't overflow 4B.

Fix a bug, reset the internal/leaf page counts at the end of every
checkpoint, we were doing cumulative counts.

Fix a bug, where we were using "%03zu" for a size_t type, fix the
dist/s_style script to catch that case.

Add a divider line between checkpoints to make it easier to read the
output.

Add a new __wt_buf_set_size() function that displays byte values in
human-readable format.

Move __wt_buf_set_printable() from btree/bt_misc.c to support/scratch.c,
it's a general-purpose function.

Rename verify debug option from "dump_shape" to "dump_layout", we're
dumping more than the tree shape now.

* Merge the two versions of the "dump extent list" functions, and stop
dumping all of the elements, they're far too many for that to ever be
useful again. Instead, display a list by power-of-two bucket size.

* Minor changes to make bucket sizes human readable.

* block_ext.c:1477:3: error: format '%s' expects argument of type 'char *',
but argument 3 has type 'const void *' [-Werror=format]
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* WT-2671: dump more information about the file layout in verify debug mode

Dump the checkpoint final and correct sizes when loading checkpoints in
verify dump_XXX mode.

Dump the checkpoint alloc, discard and avail lists when loading
checkpoints in verify dump_XXX mode.

Fix a bug, convert the count of tree pages from uint32_t to uint64_t,
there's no reason pages counts can't overflow 4B.

Fix a bug, reset the internal/leaf page counts at the end of every
checkpoint, we were doing cumulative counts.

Fix a bug, where we were using "%03zu" for a size_t type, fix the
dist/s_style script to catch that case.

Add a divider line between checkpoints to make it easier to read the
output.

Add a new __wt_buf_set_size() function that displays byte values in
human-readable format.

Move __wt_buf_set_printable() from btree/bt_misc.c to support/scratch.c,
it's a general-purpose function.

Rename verify debug option from "dump_shape" to "dump_layout", we're
dumping more than the tree shape now.

* Merge the two versions of the "dump extent list" functions, and stop
dumping all of the elements, they're far too many for that to ever be
useful again. Instead, display a list by power-of-two bucket size.

* Minor changes to make bucket sizes human readable.

* block_ext.c:1477:3: error: format '%s' expects argument of type 'char *',
but argument 3 has type 'const void *' [-Werror=format]
</pre>
</div>
</content>
</entry>
<entry>
<title>WT-2514 Fix logging to not use an empty path name. (#2789)</title>
<updated>2016-06-08T15:34:18+00:00</updated>
<author>
<name>sueloverso</name>
<email>sue@mongodb.com</email>
</author>
<published>2016-06-08T15:34:18+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mongo.git/commit/?id=43f0d0a62a8920ac3ad0e45fb695197e2455c4a5'/>
<id>43f0d0a62a8920ac3ad0e45fb695197e2455c4a5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>WT-2319 Add stats to measure count and duration of the sync calls made for log and checkpoint modules (#2784)</title>
<updated>2016-06-08T07:20:33+00:00</updated>
<author>
<name>Sulabh Mahajan</name>
<email>sulabh.mahajan@mongodb.com</email>
</author>
<published>2016-06-08T07:20:33+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mongo.git/commit/?id=37cffe90333b1217ab13ac3f22d645aa4de2dbbb'/>
<id>37cffe90333b1217ab13ac3f22d645aa4de2dbbb</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>WT-2668 Create join statistics that are useful and are easy to understand. (#2767)</title>
<updated>2016-06-07T01:57:30+00:00</updated>
<author>
<name>Don Anderson</name>
<email>dda@mongodb.com</email>
</author>
<published>2016-06-07T01:57:30+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/mongo.git/commit/?id=48bf777e1751f298756073a4ca13feabbc232066'/>
<id>48bf777e1751f298756073a4ca13feabbc232066</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
