kangkaisen commented on issue #245: Colocate Join URL: https://github.com/apache/incubator-doris/issues/245#issuecomment-430885921 > What if the parent table is being rebalanced when we try to create child table at same time? > For this moment, the tablets of parent table are unstable. > > I don't think there is a simple way keep all co-located tablets in right place all the time. > So maybe we should offer a command to 'REPAIR' the co-locate tables. > > Maybe reuse the logic of 'ALTER TABLE'? Hi @morningman I have considered this case. Before colocate tables balancing, the backendsPerBucketSeq will update firstly and the backendsPerBucketSeq updating is fast. After backendsPerBucketSeq udpated, the new child table could use the new backendsPerBucketSeq, and when backendsPerBucketSeq is updating, the `createTablets` for creating new child table will block.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@doris.apache.org For additional commands, e-mail: dev-h...@doris.apache.org