kangpinghuang commented on a change in pull request #1147: Check base tablet 
when clean alter task during startup
URL: https://github.com/apache/incubator-doris/pull/1147#discussion_r283197852
 
 

 ##########
 File path: be/src/olap/tablet_manager.cpp
 ##########
 @@ -239,6 +239,15 @@ void TabletManager::cancel_unfinished_schema_change() {
             }
 
             AlterTabletTaskSharedPtr new_alter_task = new_tablet->alter_task();
+            if (new_alter_task != nullptr 
+                && (new_alter_task->related_tablet_id() != tablet->tablet_id() 
+                    || new_alter_task->related_schema_hash() != 
tablet->schema_hash())) {
+                LOG(WARNING) << "base tablet " << tablet->full_name()
+                             << "new tablet " << new_tablet->full_name()
 
 Review comment:
   ```suggestion
                                << " new tablet " << new_tablet->full_name()
   ```
   add a space. The same the the following line.

----------------------------------------------------------------
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]

Reply via email to