Skip to content

Commit 91ae23f

Browse files
committed
format
1 parent 201f65d commit 91ae23f

File tree

7 files changed

+9
-12
lines changed

7 files changed

+9
-12
lines changed

be/src/cloud/cloud_engine_calc_delete_bitmap_task.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -236,8 +236,8 @@ Status CloudTabletCalcDeleteBitmapTask::handle() const {
236236
for (const auto& sub_txn_id : _sub_txn_ids) {
237237
ss << sub_txn_id << ", ";
238238
}
239-
LOG(INFO) << "Start calculating delete bitmap for txn_id=" << _transaction_id << ", sub_txn_ids=["
240-
<< ss.str() << "], table_id=" << tablet->table_id()
239+
LOG(INFO) << "Start calculating delete bitmap for txn_id=" << _transaction_id
240+
<< ", sub_txn_ids=[" << ss.str() << "], table_id=" << tablet->table_id()
241241
<< ", partition_id=" << tablet->partition_id() << ", tablet_id=" << _tablet_id
242242
<< ", start_version=" << _version;
243243
std::vector<RowsetSharedPtr> invisible_rowsets;

be/src/exprs/vbitmap_predicate.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,7 @@ Status VBitmapPredicate::_do_execute(VExprContext* context, const Block* block,
7676
const uint8_t* __restrict filter, Selector* selector,
7777
size_t count, ColumnPtr& result_column) const {
7878
DCHECK(_open_finished || block == nullptr);
79-
DCHECK(!(filter != nullptr && selector != nullptr))
80-
<< "filter and selector cannot be both set";
79+
DCHECK(!(filter != nullptr && selector != nullptr)) << "filter and selector cannot be both set";
8180
DCHECK_EQ(_children.size(), 1);
8281

8382
ColumnPtr argument_column;

be/src/exprs/vbloom_predicate.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,7 @@ Status VBloomPredicate::_do_execute(VExprContext* context, const Block* block,
7474
const uint8_t* __restrict filter, Selector* selector,
7575
size_t count, ColumnPtr& result_column) const {
7676
DCHECK(_open_finished || block == nullptr);
77-
DCHECK(!(filter != nullptr && selector != nullptr))
78-
<< "filter and selector cannot be both set";
77+
DCHECK(!(filter != nullptr && selector != nullptr)) << "filter and selector cannot be both set";
7978
DCHECK_EQ(_children.size(), 1);
8079

8180
ColumnPtr argument_column;

be/src/format/csv/csv_reader.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -770,8 +770,7 @@ Status CsvReader::_parse_col_nums(size_t* col_nums) {
770770
size_t size = 0;
771771
RETURN_IF_ERROR(_line_reader->read_line(&ptr, &size, &_line_reader_eof, _io_ctx));
772772
if (size == 0) {
773-
return Status::InternalError<false>(
774-
"The first line is empty, cannot parse column numbers");
773+
return Status::InternalError<false>("The first line is empty, cannot parse column numbers");
775774
}
776775
if (!validate_utf8(_params, reinterpret_cast<const char*>(ptr), size)) {
777776
return Status::InternalError<false>("Only support csv data in utf8 codec");

be/src/io/cache/cache_lru_dumper.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,8 @@ void CacheLRUDumper::do_dump_queue(LRUQueue& queue, const std::string& queue_nam
328328
fmt::format("{}/lru_dump_{}.tail", _mgr->_cache_base_path, queue_name);
329329
std::ofstream out(tmp_filename, std::ios::binary);
330330
if (out) {
331-
LOG(INFO) << "Begin to dump " << queue_name << " with " << elements.size() << " elements";
331+
LOG(INFO) << "Begin to dump " << queue_name << " with " << elements.size()
332+
<< " elements";
332333
for (const auto& [hash, offset, size] : elements) {
333334
RETURN_IF_STATUS_ERROR(st,
334335
dump_one_lru_entry(out, tmp_filename, hash, offset, size));

be/src/io/cache/fs_file_cache_storage.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,7 @@ Status FSFileCacheStorage::upgrade_cache_dir_if_necessary() const {
465465
exit(-1);
466466
} else if (version == "2.0") {
467467
VLOG_DEBUG << "Cache will upgrade from 2.0 to 3.0 progressively during running. 2.0 data "
468-
"format will evict eventually.";
468+
"format will evict eventually.";
469469
return Status::OK();
470470
} else if (version == "3.0") {
471471
LOG(INFO) << "Readly 3.0 format, no need to upgrade.";

be/src/storage/storage_engine.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1292,8 +1292,7 @@ void StorageEngine::start_delete_unused_rowset() {
12921292
<< due_to_delayed_expired_ts << " rowsets due to delayed expired timestamp. left "
12931293
<< _unused_delete_bitmap.size() << " unused delete bitmap.";
12941294
for (auto&& rs : unused_rowsets_copy) {
1295-
VLOG_NOTICE << "Start removing rowset:" << rs->rowset_id()
1296-
<< ", version:" << rs->version();
1295+
VLOG_NOTICE << "Start removing rowset:" << rs->rowset_id() << ", version:" << rs->version();
12971296
// delete delete_bitmap of unused rowsets
12981297
if (auto tablet = _tablet_manager->get_tablet(rs->rowset_meta()->tablet_id());
12991298
tablet && tablet->enable_unique_key_merge_on_write()) {

0 commit comments

Comments
 (0)