KEN-LJQ opened a new issue #2368: [BUG] multiple browser tab cause cron 
scheduler trigger duplicate
URL: https://github.com/apache/incubator-dolphinscheduler/issues/2368
 
 
   **Describe the bug**
   We found some workflow will schedule two instance at the same time every 
day. Because it has set two Quartz Trigger, see the screenshots below
   
![image](https://user-images.githubusercontent.com/16650282/78329404-327f7b80-75b4-11ea-92d9-ec958adfd46c.png)
   Since we can see that the difference is trigger group, the suffix means 
project id, so it indicate this workflow belong to difference project, which 
suppose to be wrong.
   After review the code, the project id comes from the 
set-scheduler-online-or-offline request, the value is pass by frontend
   
![image](https://user-images.githubusercontent.com/16650282/78329999-90f92980-75b5-11ea-9036-9efe0857d22d.png)
   
   
   **To Reproduce**
   key operations: open two or more tabs, offline and online scheduler
   Assume we have to project: project-1, project-2, and workflow-A belong to 
project-1
   1. Open the cron scheduler page of workflow-A
   2. New a tab, and open another workflow of project-2
   3. Refresh the cron scheduler page of workflow-A
   4. Offline scheduler of workflow-A
   5. Online scheduler of workflow-A
   After these step, the old cron trigger did not remove, but a new one was 
added, and the trigger group was difference
   
   **Which version of Dolphin Scheduler:**
    -[1.1.0]
   
   **Additional context**
   Using DolphinScheduler within only one tab can avoid this bug, but it's more 
convenience for developer if them open one more tab, so this bug may be trigger.
   

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

Reply via email to