summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Bostic <keith@wiredtiger.com>2013-10-02 19:17:11 -0400
committerKeith Bostic <keith@wiredtiger.com>2013-10-02 19:17:11 -0400
commit2a353a527911a13828fc7cb7514e4b5ad0c99f65 (patch)
tree151c8efcb20d5f67f83e20f80690eef1a9cc664a
parent0b4d270883a86fba82da5d0d688c8370eb00c8ca (diff)
downloadmongo-2a353a527911a13828fc7cb7514e4b5ad0c99f65.tar.gz
Change the default statistics_fast configuration from false to true.
-rw-r--r--dist/api_data.py2
-rw-r--r--src/config/config_def.c2
-rw-r--r--src/docs/upgrading.dox9
-rw-r--r--src/include/wiredtiger.in2
4 files changed, 12 insertions, 3 deletions
diff --git a/dist/api_data.py b/dist/api_data.py
index 67d6c95e8b3..d21d7ffe3f0 100644
--- a/dist/api_data.py
+++ b/dist/api_data.py
@@ -441,7 +441,7 @@ methods = {
reset statistics counters when the cursor is closed; valid
only for statistics cursors''',
type='boolean'),
- Config('statistics_fast', 'false', r'''
+ Config('statistics_fast', 'true', r'''
only gather statistics that don't require traversing the tree;
valid only for statistics cursors''',
type='boolean'),
diff --git a/src/config/config_def.c b/src/config/config_def.c
index f085b266c40..ffb23ff5069 100644
--- a/src/config/config_def.c
+++ b/src/config/config_def.c
@@ -368,7 +368,7 @@ static const WT_CONFIG_ENTRY config_entries[] = {
},
{ "session.open_cursor",
"append=0,bulk=0,checkpoint=,dump=,next_random=0,overwrite=,raw=0"
- ",statistics_clear=0,statistics_fast=0,target=",
+ ",statistics_clear=0,statistics_fast=,target=",
confchk_session_open_cursor
},
{ "session.reconfigure",
diff --git a/src/docs/upgrading.dox b/src/docs/upgrading.dox
index 255bc8f8879..e4943fe76e1 100644
--- a/src/docs/upgrading.dox
+++ b/src/docs/upgrading.dox
@@ -12,6 +12,15 @@ position. Application insert cursors should be reviewed to confirm they do
not attempt to iterate after an insert.
</dd>
+<dt>WT_SESSION::open_cursor statistics_fast configuration</dt>
+<dd>
+In previous releases, the default \c statistics_fast configuration to
+the WT_SESSION::open_cursor method was \c false; in the 1.6.5 release,
+the default statistics_fast configuration is \c true. Applications
+opening statistics cursors should be reviewed to confirm they have the
+correct behavior.
+</dd>
+
</dl>
<hr>
@section version_164 Upgrading to Version 1.6.4
diff --git a/src/include/wiredtiger.in b/src/include/wiredtiger.in
index 6fc511782ea..034ff46ae03 100644
--- a/src/include/wiredtiger.in
+++ b/src/include/wiredtiger.in
@@ -670,7 +670,7 @@ struct __wt_session {
* default \c false.}
* @config{statistics_fast, only gather statistics that don't require
* traversing the tree; valid only for statistics cursors., a boolean
- * flag; default \c false.}
+ * flag; default \c true.}
* @config{target, if non-empty\, backup the list of objects; valid only
* for a backup data source., a list of strings; default empty.}
* @configend