Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

web控制台上删除同步任务,实际做了物理删除会导致该任务无法从内存中同步剔除掉 #168

Closed
xiongshilin opened this issue Aug 28, 2020 · 3 comments

Comments

@xiongshilin
Copy link

在web控制台上直接删除某个任务做了物理删除,会出现QuerySyncTaskTimer在下次执行时再也获取不到被删除的任务,内从中任务会一直存在除非重启服务

@paderlol
Copy link
Contributor

哪个同步?

@xiongshilin
Copy link
Author

QuerySyncTaskTimer 就是这个定时任务扫描数据库的同步任务时候,如果在控制台暂停任务后很快做一个删除,就有可能出现内存任务无法同步暂停删除掉。我们在部署测试环境时候遇到了。我们用的版本是0.3.9

@paderlol
Copy link
Contributor

嗯,可能会有这个问题,我想下怎么修复下,因为你删除物理数据以后,定时任务找不到了,所以无法清理这个任务了

paderlol added a commit to paderlol/nacos-sync that referenced this issue Oct 2, 2020
@paderlol paderlol mentioned this issue Oct 2, 2020
paderlol added a commit to paderlol/nacos-sync that referenced this issue Feb 11, 2021
paderlol added a commit to paderlol/nacos-sync that referenced this issue Feb 22, 2021
paderlol added a commit that referenced this issue Feb 22, 2021
paderlol added a commit that referenced this issue Feb 22, 2021
paderlol added a commit to paderlol/nacos-sync that referenced this issue Feb 25, 2021
paderlol added a commit that referenced this issue Feb 25, 2021
@paderlol paderlol mentioned this issue Feb 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants