You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2021/04/27 12:02:20 UTC

[GitHub] [incubator-doris] caiconghui commented on pull request #5712: [Bug] Fix bug that Drop olap table when table'state is not normal may introduce some problems

caiconghui commented on pull request #5712:
URL: https://github.com/apache/incubator-doris/pull/5712#issuecomment-827551942


   > Isn't it a bit unfriendly to not allow drop table, because the user may just want to drop the table due to some abnormality of the table.
   > After the table is dropped, it is reasonable to say that the task of schema change should directly fail. Why will it continue to be executed?
   
   if user want to use table again, the table should keep normal when recovered, but if schema change job not set table to be normal again, table will never be normal agagin.
   In fact, in a stand-alone environment, the table cannot be discarded because the table lock is held during the schema change operation. Because we consider performance here, the table lock is released part of the time during the entire execution of the schema change. Here we only need to cancel the alter table operation in time to drop successfully


-- 
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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org