From 08e4035a41bbff8301ba23d612376aeceb4b9913 Mon Sep 17 00:00:00 2001 From: Mingyu Chen Date: Tue, 17 Mar 2020 20:11:41 +0800 Subject: [PATCH] 1 (#3134) --- be/src/olap/rowset/rowset.h | 14 +++++++------- be/src/olap/txn_manager.cpp | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/be/src/olap/rowset/rowset.h b/be/src/olap/rowset/rowset.h index 36b3fd5192..2c509ebff9 100644 --- a/be/src/olap/rowset/rowset.h +++ b/be/src/olap/rowset/rowset.h @@ -187,10 +187,10 @@ public: LOG(WARNING) << "state transition failed from:" << _rowset_state_machine.rowset_state(); return; } - LOG(INFO) << "rowset is close. rowset state from:" << old_state - << " to " << _rowset_state_machine.rowset_state() - << ", version:" << start_version() << "-" << end_version() - << ", tabletid:" << _rowset_meta->tablet_id(); + VLOG(3) << "rowset is close. rowset state from:" << old_state + << " to " << _rowset_state_machine.rowset_state() + << ", version:" << start_version() << "-" << end_version() + << ", tabletid:" << _rowset_meta->tablet_id(); } // hard link all files in this rowset to `dir` to form a new rowset with id `new_rowset_id`. @@ -244,9 +244,9 @@ public: } } if (_rowset_state_machine.rowset_state() == ROWSET_UNLOADED) { - LOG(INFO) << "close the rowset. rowset state from ROWSET_UNLOADING to ROWSET_UNLOADED" - << ", version:" << start_version() << "-" << end_version() - << ", tabletid:" << _rowset_meta->tablet_id(); + VLOG(3) << "close the rowset. rowset state from ROWSET_UNLOADING to ROWSET_UNLOADED" + << ", version:" << start_version() << "-" << end_version() + << ", tabletid:" << _rowset_meta->tablet_id(); } } } diff --git a/be/src/olap/txn_manager.cpp b/be/src/olap/txn_manager.cpp index 1aab8e815f..11eebbaad2 100755 --- a/be/src/olap/txn_manager.cpp +++ b/be/src/olap/txn_manager.cpp @@ -149,7 +149,7 @@ OLAPStatus TxnManager::prepare_txn( _txn_tablet_map[key][tablet_info] = load_info; _insert_txn_partition_map_unlocked(transaction_id, partition_id); - LOG(INFO) << "add transaction to engine successfully." + VLOG(3) << "add transaction to engine successfully." << "partition_id: " << key.first << ", transaction_id: " << key.second << ", tablet: " << tablet_info.to_string();