imay commented on a change in pull request #2847: Doris support in memory olap
table
URL: https://github.com/apache/incubator-doris/pull/2847#discussion_r380123351
##########
File path: be/src/agent/task_worker_pool.cpp
##########
@@ -846,7 +846,19 @@ void*
TaskWorkerPool::_update_tablet_meta_worker_thread_callback(void* arg_this)
continue;
}
WriteLock wrlock(tablet->get_header_lock_ptr());
- tablet->set_partition_id(tablet_meta_info.partition_id);
+ // update tablet meta
+ if (!tablet_meta_info.__isset.meta_type) {
+ tablet->set_partition_id(tablet_meta_info.partition_id);
+ } else {
+ switch(tablet_meta_info.meta_type) {
Review comment:
```suggestion
switch (tablet_meta_info.meta_type) {
```
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]