Quartz job triggering multiple times in kubernates pods (nodes) with mongodb and C# #1991
Unanswered
MohamedSahir
asked this question in
Q&A
Replies: 1 comment
-
We don't have MongoDB support built here so hard to guess what might be the problem. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
currently we are using asp.net core with rabbitmq and mongdb as database . we are using quartz job for data migration. but we observed jobs are triggred 5 times in 5 nodes.
i could see some solution before from quartz with ado.net store and sql server to lock the job store. based on this
quartz-scheduler/quartz#29.
could you please provide some useful documentation for mongodb jobstore lock and properties["quartz.jobStore.acquireTriggersWithinLock"] = "true";
this is the code i found for sql server but how can i modify for mongodb,is this solution solve the problem or any other suggested way ?
Beta Was this translation helpful? Give feedback.
All reactions