HangfireIO / HangfireIO/Hangfire

Multiple workers executing the same job SQLite

Open
#1,674 7 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
10.1k
Forks
1.8k
Avg merge
1h 19m
Merged PRs (30d)
1

Description

Hello i have issue that all 20 workers execute the same 1 job. Ok I can not to pay attention on console but it also insert in table Job this job sometimes twice sometimes once. I have no idea how to restrict it.Could you help me with it? I use Hangfire 1.7.11
![image](https://user-images.githubusercontent.com/42182118/82023939-4c21e180-968f-11ea-80c9-35f29e6ba831.png)
![image](https://user-images.githubusercontent.com/42182118/82024027-707dbe00-968f-11ea-9be6-f72668b45a69.png)
![image](https://user-images.githubusercontent.com/42182118/82024079-85f2e800-968f-11ea-90da-55114383ce07.png)
why I have this result
![image](https://user-images.githubusercontent.com/42182118/82024183-a9b62e00-968f-11ea-901c-c44828feab93.png)
in Counter table I have new records from 10-17 from each execution

Contributor guide

Open the contributing guide

Research direction

No source file, test, or entry point is named; the report only identifies Hangfire 1.7.11, SQLite, workers, and the Counter table. Start by reproducing the duplicate execution with the reported setup and inspect the related storage and worker behavior. Done requires a confirmed cause and a narrowly defined correction or documented configuration change.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, sqlite
Domain
backend, databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.