diff options
author | sueloverso <sue@mongodb.com> | 2016-12-15 13:06:31 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-15 13:06:31 -0500 |
commit | e8d8fd81109554f7ae845b92c716ed54364b433d (patch) | |
tree | 61e71c809512dc5acab8955e62221ce825fdd48a /src/support | |
parent | 2142d32fd6b747022da2bab0cf76b30941bab918 (diff) | |
download | mongo-e8d8fd81109554f7ae845b92c716ed54364b433d.tar.gz |
WT-283 Add WT_SESSION::alter method (#3177)
* WT-283 Add WT_SESSION:alter method
* Add new method to ex_all.c
* Typo
* Add testing and fixes for LSM, column groups and indexes for alter.
* Fix WITH_*_LOCK macro usage.
* Whitespace
* Change table alter to not walk down into column groups and indexes.
* Whitespace
* Use base file meta config and compare strings.
* Add skip stat
* Add alter support to wt command.
* Add util_alter.c to SConstruct
* Fix subsection in doc.
* Add alter thread to test/format
* Swap the value we send into alter in test/format.
* Add data-source alter support
* Only alter access pattern hint in test/format.
* Make LSM alter not exclusive.
* Whitespace
* Use access_pattern_hint in example.
* Include base lsm metadata configuration.
* Fix text/comment.
* Minor changes from review comments.
* Unused variable warning.
Diffstat (limited to 'src/support')
-rw-r--r-- | src/support/stat.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/support/stat.c b/src/support/stat.c index 5acd9fc713f..a9c0b24ef29 100644 --- a/src/support/stat.c +++ b/src/support/stat.c @@ -808,6 +808,9 @@ static const char * const __stats_connection_desc[] = { "reconciliation: split objects currently awaiting free", "session: open cursor count", "session: open session count", + "session: table alter failed calls", + "session: table alter successful calls", + "session: table alter unchanged and skipped", "session: table compact failed calls", "session: table compact successful calls", "session: table create failed calls", @@ -1086,6 +1089,9 @@ __wt_stat_connection_clear_single(WT_CONNECTION_STATS *stats) /* not clearing rec_split_stashed_objects */ /* not clearing session_cursor_open */ /* not clearing session_open */ + /* not clearing session_table_alter_fail */ + /* not clearing session_table_alter_success */ + /* not clearing session_table_alter_skip */ /* not clearing session_table_compact_fail */ /* not clearing session_table_compact_success */ /* not clearing session_table_create_fail */ @@ -1397,6 +1403,12 @@ __wt_stat_connection_aggregate( WT_STAT_READ(from, rec_split_stashed_objects); to->session_cursor_open += WT_STAT_READ(from, session_cursor_open); to->session_open += WT_STAT_READ(from, session_open); + to->session_table_alter_fail += + WT_STAT_READ(from, session_table_alter_fail); + to->session_table_alter_success += + WT_STAT_READ(from, session_table_alter_success); + to->session_table_alter_skip += + WT_STAT_READ(from, session_table_alter_skip); to->session_table_compact_fail += WT_STAT_READ(from, session_table_compact_fail); to->session_table_compact_success += |