csun5285 commented on code in PR #22159:
URL: https://github.com/apache/doris/pull/22159#discussion_r1278509717


##########
be/src/agent/task_worker_pool.cpp:
##########
@@ -433,6 +433,63 @@ void 
TaskWorkerPool::_update_tablet_meta_worker_thread_callback() {
                 
tablet->tablet_schema_unlocked()->set_is_in_memory(tablet_meta_info.is_in_memory);
                 need_to_save = true;
             }
+            if (tablet_meta_info.__isset.compaction_policy) {
+                
tablet->tablet_meta()->mutable_tablet_schema()->set_compaction_policy(
+                        tablet_meta_info.compaction_policy);
+                std::shared_lock rlock(tablet->get_header_lock());

Review Comment:
   the compaction-related properties were previously stored in the tablet 
schema, and now I've moved them to the tablet meta



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to