diff options
author | Keith Bostic <keith@wiredtiger.com> | 2015-03-17 21:07:16 -0400 |
---|---|---|
committer | Keith Bostic <keith@wiredtiger.com> | 2015-03-17 21:07:16 -0400 |
commit | e2c73a3dc80be49f2d847b4a767cb0dbf1d0e2de (patch) | |
tree | 3a056e42b8561d38c7278bf81b1ed23120c03e3e | |
parent | 1544af6237f5c53ad06797f1cb0a375496d58fce (diff) | |
download | mongo-e2c73a3dc80be49f2d847b4a767cb0dbf1d0e2de.tar.gz |
Update stats.
-rw-r--r-- | src/include/stat.h | 2 | ||||
-rw-r--r-- | src/include/wiredtiger.in | 14 | ||||
-rw-r--r-- | src/support/stat.c | 6 |
3 files changed, 4 insertions, 18 deletions
diff --git a/src/include/stat.h b/src/include/stat.h index c89a9042926..ffab3716f14 100644 --- a/src/include/stat.h +++ b/src/include/stat.h @@ -268,11 +268,9 @@ struct __wt_connection_stats { WT_STATS txn_checkpoint_time_total; WT_STATS txn_commit; WT_STATS txn_fail_cache; - WT_STATS txn_not_visible_checkpoint; WT_STATS txn_pinned_checkpoint_range; WT_STATS txn_pinned_range; WT_STATS txn_rollback; - WT_STATS txn_visible_checkpoint; WT_STATS write_io; }; diff --git a/src/include/wiredtiger.in b/src/include/wiredtiger.in index 86e21554b2f..a5b2bf1efd4 100644 --- a/src/include/wiredtiger.in +++ b/src/include/wiredtiger.in @@ -3462,20 +3462,14 @@ extern int wiredtiger_extension_terminate(WT_CONNECTION *connection); #define WT_STAT_CONN_TXN_COMMIT 1134 /*! transaction: transaction failures due to cache overflow */ #define WT_STAT_CONN_TXN_FAIL_CACHE 1135 -/*! transaction: Transaction visibility checks where checkpoint ID was not - * used */ -#define WT_STAT_CONN_TXN_NOT_VISIBLE_CHECKPOINT 1136 /*! transaction: transaction range of IDs currently pinned by a checkpoint */ -#define WT_STAT_CONN_TXN_PINNED_CHECKPOINT_RANGE 1137 +#define WT_STAT_CONN_TXN_PINNED_CHECKPOINT_RANGE 1136 /*! transaction: transaction range of IDs currently pinned */ -#define WT_STAT_CONN_TXN_PINNED_RANGE 1138 +#define WT_STAT_CONN_TXN_PINNED_RANGE 1137 /*! transaction: transactions rolled back */ -#define WT_STAT_CONN_TXN_ROLLBACK 1139 -/*! transaction: Transaction visibility checks where checkpoint ID was - * used */ -#define WT_STAT_CONN_TXN_VISIBLE_CHECKPOINT 1140 +#define WT_STAT_CONN_TXN_ROLLBACK 1138 /*! connection: total write I/Os */ -#define WT_STAT_CONN_WRITE_IO 1141 +#define WT_STAT_CONN_WRITE_IO 1139 /*! * @} diff --git a/src/support/stat.c b/src/support/stat.c index 1fcb81bfe8c..b0a8d21de28 100644 --- a/src/support/stat.c +++ b/src/support/stat.c @@ -533,10 +533,6 @@ __wt_stat_init_connection_stats(WT_CONNECTION_STATS *stats) "transaction: transaction range of IDs currently pinned"; stats->txn_pinned_checkpoint_range.desc = "transaction: transaction range of IDs currently pinned by a checkpoint"; - stats->txn_not_visible_checkpoint.desc = - "transaction: Transaction visibility checks where checkpoint ID was not used"; - stats->txn_visible_checkpoint.desc = - "transaction: Transaction visibility checks where checkpoint ID was used"; stats->txn_commit.desc = "transaction: transactions committed"; stats->txn_rollback.desc = "transaction: transactions rolled back"; } @@ -660,8 +656,6 @@ __wt_stat_refresh_connection_stats(void *stats_arg) stats->txn_begin.v = 0; stats->txn_checkpoint.v = 0; stats->txn_fail_cache.v = 0; - stats->txn_not_visible_checkpoint.v = 0; - stats->txn_visible_checkpoint.v = 0; stats->txn_commit.v = 0; stats->txn_rollback.v = 0; } |