Skip to content

Commit 0179b4d

Browse files
committed
format
1 parent b41a473 commit 0179b4d

File tree

6 files changed

+7
-12
lines changed

6 files changed

+7
-12
lines changed

be/src/cloud/cloud_delete_task.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,7 @@ Status CloudDeleteTask::execute(CloudStorageEngine& engine, const TPushReq& requ
102102
return st;
103103
}
104104

105-
st = engine.meta_mgr().commit_rowset(*rowset->rowset_meta(), "", nullptr,
106-
tablet->table_id());
105+
st = engine.meta_mgr().commit_rowset(*rowset->rowset_meta(), "", nullptr, tablet->table_id());
107106
if (!st.ok()) {
108107
LOG(WARNING) << "failed to commit rowset, status=" << st.to_string();
109108
return st;

be/src/cloud/cloud_schema_change_job.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -418,9 +418,8 @@ Status CloudSchemaChangeJob::_convert_historical_rowsets(const SchemaChangeParam
418418
st.to_string());
419419
}
420420

421-
st = _cloud_storage_engine.meta_mgr().commit_rowset(*rowset_writer->rowset_meta(), _job_id,
422-
&existed_rs_meta,
423-
_new_tablet->table_id());
421+
st = _cloud_storage_engine.meta_mgr().commit_rowset(
422+
*rowset_writer->rowset_meta(), _job_id, &existed_rs_meta, _new_tablet->table_id());
424423
if (!st.ok()) {
425424
if (st.is<ALREADY_EXIST>()) {
426425
LOG(INFO) << "Rowset " << rs_reader->version() << " has already existed in tablet "

be/src/cloud/cloud_warm_up_manager.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -501,8 +501,7 @@ Status CloudWarmUpManager::set_event(int64_t job_id, TWarmUpEventType::type even
501501
}
502502

503503
std::vector<TReplicaInfo> CloudWarmUpManager::get_replica_info(int64_t tablet_id, int64_t table_id,
504-
bool bypass_cache,
505-
bool& cache_hit) {
504+
bool bypass_cache, bool& cache_hit) {
506505
std::vector<TReplicaInfo> replicas;
507506
std::vector<int64_t> cancelled_jobs;
508507
std::lock_guard<std::mutex> lock(_mtx);

be/src/cloud/cloud_warm_up_manager.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,7 @@ class CloudWarmUpManager {
114114
int64_t sync_wait_timeout_ms, bool skip_existence_check);
115115

116116
std::vector<TReplicaInfo> get_replica_info(int64_t tablet_id, int64_t table_id,
117-
bool bypass_cache,
118-
bool& cache_hit);
117+
bool bypass_cache, bool& cache_hit);
119118

120119
void _warm_up_rowset(RowsetMeta& rs_meta, int64_t table_id, int64_t sync_wait_timeout_ms);
121120
void _recycle_cache(int64_t tablet_id, const std::vector<RecycledRowsets>& rowsets);

be/src/storage/compaction/compaction.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1636,7 +1636,7 @@ Status CloudCompactionMixin::execute_compact_impl(int64_t permits) {
16361636
update_compaction_level();
16371637

16381638
RETURN_IF_ERROR(_engine.meta_mgr().commit_rowset(*_output_rowset->rowset_meta().get(), _uuid,
1639-
nullptr, _tablet->table_id()));
1639+
nullptr, _tablet->table_id()));
16401640

16411641
// 4. modify rowsets in memory
16421642
RETURN_IF_ERROR(modify_rowsets());

be/test/cloud/cloud_warm_up_manager_filter_test.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,14 @@
1515
// specific language governing permissions and limitations
1616
// under the License.
1717

18-
#include "cloud/cloud_warm_up_manager.h"
19-
2018
#include <gtest/gtest.h>
2119

2220
#include <optional>
2321
#include <unordered_set>
2422
#include <vector>
2523

2624
#include "cloud/cloud_storage_engine.h"
25+
#include "cloud/cloud_warm_up_manager.h"
2726
#include "gen_cpp/AgentService_types.h"
2827

2928
namespace doris {

0 commit comments

Comments
 (0)