This commit is contained in:
Mingyu Chen
2020-03-17 20:11:41 +08:00
committed by GitHub
parent d01b58bff6
commit 08e4035a41
2 changed files with 8 additions and 8 deletions

View File

@ -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();
}
}
}

View File

@ -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();