This is an automated email from the ASF dual-hosted git repository. saipranav pushed a commit to branch ResView_fix in repository https://gitbox.apache.org/repos/asf/incubator-resilientdb.git
commit bdc38dccef864ed0bccaae6fb4d1887afa917ba3 Author: Saipranav Kotamreddy <[email protected]> AuthorDate: Tue Apr 2 15:59:35 2024 -0700 "Fixed issue with data carryover between instances" --- platform/statistic/stats.cpp | 6 +++++- service/tools/config/server/server.config | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/platform/statistic/stats.cpp b/platform/statistic/stats.cpp index 33de785c..d8de42a7 100644 --- a/platform/statistic/stats.cpp +++ b/platform/statistic/stats.cpp @@ -243,8 +243,9 @@ void Stats::SendSummary(){ consensus_history_[std::to_string(transaction_summary_.txn_number)]=summary_json_; - LOG(ERROR)<<summary_json_.dump(); + LOG(ERROR)<<summary_json_.dump(); + //Reset Transaction Summary Parameters transaction_summary_.request_pre_prepare_state_time=std::chrono::system_clock::time_point::min(); transaction_summary_.prepare_state_time=std::chrono::system_clock::time_point::min(); @@ -252,6 +253,9 @@ void Stats::SendSummary(){ transaction_summary_.execution_time=std::chrono::system_clock::time_point::min(); transaction_summary_.prepare_message_count_times_list.clear(); transaction_summary_.commit_message_count_times_list.clear(); + + summary_json_.clear(); + } void Stats::MonitorGlobal() { diff --git a/service/tools/config/server/server.config b/service/tools/config/server/server.config index 1dc5b0de..7c6680f4 100644 --- a/service/tools/config/server/server.config +++ b/service/tools/config/server/server.config @@ -33,7 +33,7 @@ write_batch_size:1, }, require_txn_validation:true, - enable_viewchange:true, + enable_viewchange:false, enable_resview:true, enable_faulty_switch:false }
