This is an automated email from the ASF dual-hosted git repository.
adar pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kudu.git
The following commit(s) were added to refs/heads/master by this push:
new f5a69ca [tablet] Fix missing upsert metric
f5a69ca is described below
commit f5a69ca0871deaf9c0f0915addea53b5aacfa12b
Author: lingbin <[email protected]>
AuthorDate: Thu Sep 19 10:43:00 2019 +0800
[tablet] Fix missing upsert metric
Change-Id: I81af707e6d8a2806060107a3941dc3b17f6a2809
Reviewed-on: http://gerrit.cloudera.org:8080/14261
Tested-by: Kudu Jenkins
Reviewed-by: Adar Dembo <[email protected]>
---
src/kudu/tablet/transactions/transaction.cc | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/kudu/tablet/transactions/transaction.cc
b/src/kudu/tablet/transactions/transaction.cc
index 312c8b5..9f17ddc 100644
--- a/src/kudu/tablet/transactions/transaction.cc
+++ b/src/kudu/tablet/transactions/transaction.cc
@@ -80,6 +80,7 @@ TransactionMetrics::TransactionMetrics()
void TransactionMetrics::Reset() {
successful_inserts = 0;
+ successful_upserts = 0;
successful_updates = 0;
successful_deletes = 0;
commit_wait_duration_usec = 0;