Skip to content

add locks in the scanner to prevent multiple scanners running on the … - #24205

Merged
DeepDiver1975 merged 1 commit into
masterfrom
scanner-locking
Apr 25, 2016
Merged

DeepDiver1975 merged 1 commit into
masterfrom
scanner-locking

Conversation

@icewind1991

Copy link
Copy Markdown
Contributor

…same files

Fixes #20555

@adamreed90 @BenS89 @pako81 @hostingnuggets can you verify if this fixes the issue for you

cc @PVince81 @MorrisJobke

@icewind1991 icewind1991 added this to the 9.1-current milestone Apr 22, 2016
@mention-bot

Copy link
Copy Markdown

By analyzing the blame information on this pull request, we identified @mmattel, @ringmaster and @butonic to be potential reviewers

@PVince81

Copy link
Copy Markdown
Contributor

👍 tested here #20555 (comment) and it solved the problem for me

@PVince81

Copy link
Copy Markdown
Contributor

Retested with the correct transaction modes, still works.

@PVince81

Copy link
Copy Markdown
Contributor

Second review ? @nickvergessen @schiesbn @rullzer @DeepDiver1975

@rullzer

rullzer commented Apr 25, 2016

Copy link
Copy Markdown
Contributor

Basically tested the same way as #20555 (comment)

👍

@PVince81

Copy link
Copy Markdown
Contributor

@karlitschek backport to 9.0.2, 8.2.4 ? (fixes database dead lock with concurrent scanner processes)

@rullzer

rullzer commented Apr 25, 2016

Copy link
Copy Markdown
Contributor

Rebased to make github happy after the move to PSR-4

@karlitschek

Copy link
Copy Markdown
Contributor

nice. please backport

@DeepDiver1975
DeepDiver1975 merged commit 5348424 into master Apr 25, 2016
@DeepDiver1975
DeepDiver1975 deleted the scanner-locking branch April 25, 2016 12:48
@MorrisJobke

Copy link
Copy Markdown
Contributor

nice. please backport

@icewind1991 Could you please open the backport PRs?

@PVince81

Copy link
Copy Markdown
Contributor

@icewind1991 what happened to the 8.2 backport in the end ? (I know you pushed by mistake, did you revert?)

@icewind1991

Copy link
Copy Markdown
Contributor Author

did you revert

Yes

stable9: #24250
stable8.2: #24260

@lock

lock Bot commented Aug 6, 2019

Copy link
Copy Markdown

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock Bot locked as resolved and limited conversation to collaborators Aug 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

"Deadlock found when trying to get lock" in file locking

7 participants