From aa2fa6fd4602e2abbc970af8732ff8ff43b3dbf3 Mon Sep 17 00:00:00 2001
From: JiaShuo <js982986555@live.com>
Date: Fri, 5 Jun 2020 15:07:05 +0800
Subject: [PATCH] del amp code

---
 src/server/table_stats.h | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/src/server/table_stats.h b/src/server/table_stats.h
index c58d89eff8..0bdcc8e3f5 100644
--- a/src/server/table_stats.h
+++ b/src/server/table_stats.h
@@ -73,8 +73,6 @@ struct table_stats
         total_multi_put_bytes += row.multi_put_bytes;
         total_check_and_set_bytes += row.check_and_set_bytes;
         total_check_and_mutate_bytes += row.check_and_mutate_bytes;
-        total_compaction_write_rate_megabytes += row.compaction_write_rate_megabytes;
-        total_compaction_read_rate_megabytes += row.compaction_read_rate_megabytes;
     }
 
     void merge(const table_stats &row_stats)
@@ -122,8 +120,6 @@ struct table_stats
         total_multi_put_bytes += row_stats.total_multi_put_bytes;
         total_check_and_set_bytes += row_stats.total_check_and_set_bytes;
         total_check_and_mutate_bytes += row_stats.total_check_and_mutate_bytes;
-        total_compaction_write_rate_megabytes += row_stats.total_compaction_write_rate_megabytes;
-        total_compaction_read_rate_megabytes += row_stats.total_compaction_read_rate_megabytes;
     }
 
     std::string app_name;
@@ -167,8 +163,6 @@ struct table_stats
     double total_multi_put_bytes = 0;
     double total_check_and_set_bytes = 0;
     double total_check_and_mutate_bytes = 0;
-    double total_compaction_write_rate_megabytes = 0;
-    double total_compaction_read_rate_megabytes = 0;
     double max_total_qps = 0;
     double min_total_qps = INT_MAX;
     double max_total_cu = 0;