You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by GitBox <gi...@apache.org> on 2020/09/01 10:39:55 UTC

[GitHub] [incubator-dolphinscheduler] dailidong commented on issue #3613: [Question][master-server]sometimes one command would be execute more than one times

dailidong commented on issue #3613:
URL: https://github.com/apache/incubator-dolphinscheduler/issues/3613#issuecomment-684758243


   good news, seems it not a bug of DolphinScheduler, the entire process as follows:
   
   The insert command inserted into the master, but it may be read from the master or slave when reading. It may be that first time the master reads the data on the master , it will be executed, and then the command will be removed from the master, and the second loop will be read from the slave. However, due to the delay of master-slave synchronization, the command in the slave is not deleted, so it is executed again
   
   ---
   就是插入command是插入到master了,但是读的时候可能会从master或者slave读,那可能第一次读了master发现有数据就执行了,然后从master中移除command,第二次循环就从slave读了,但是由于主从同步延时,所以这时候slave里面的这条command并没有被删除,所以又执行了一次 


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