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 2019/10/25 10:27:11 UTC

[GitHub] [incubator-doris] imay commented on issue #2070: 删除分区之后,紧接着执行创建分区的命令,但是不导入数据,顺序连续执行3次这样的操作,有没有可能出现第3次创建分区的命令早于第1次创建分区的命令先完成 (maybe not a bug)

imay commented on issue #2070: 删除分区之后,紧接着执行创建分区的命令,但是不导入数据,顺序连续执行3次这样的操作,有没有可能出现第3次创建分区的命令早于第1次创建分区的命令先完成 (maybe not a bug)
URL: https://github.com/apache/incubator-doris/issues/2070#issuecomment-546298473
 
 
   > **推测**
   > 在官方文档中对drop partition命令有说明:drop partition 删除分区命令是同步命令,执行成功即生效。而后台数据真正删除的时间可能会延迟10分钟左右。
   > 所以我想请教2个问题:
   > 
   >     1. 删除分区之后,紧接着执行创建分区的命令,但是不导入数据,顺序连续执行3次这样的操作,有没有可能出现第3次创建分区的命令早于第1次创建分区的命令先完成?
   > 
   
   如果你是用同一个session执行的,那么一定是按照顺序执行的,先执行完一个,再执行下一个。不会出现你说的这种。
   
   >     2. 创建分区是不是必须要在之前已经存在的分区的后台数据完全删除的情况下才能真正创建成功?
   > 
   
   不会,即使后台数据没删除完毕,也不影响创建分区成功。会为新的分区创建tablet,与老的数据没有关系

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


With regards,
Apache Git Services

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