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

Sympa::Aliases::Template creates exclusive lock on local storage #593

Merged
merged 1 commit into from
Apr 18, 2019

Conversation

ikedas
Copy link
Member

@ikedas ikedas commented Apr 11, 2019

This behavior is useless when aliases file is shared by multiple hosts with network drive.
Fixed by creating lock at the same place as aliases file.

This behavior is useless when aliases file is shared by multiple hosts with network drive.
Fixed by creating lock at the same place as aliases file.
@ikedas ikedas added the bug label Apr 11, 2019
@ikedas ikedas added this to the 6.2.44 milestone Apr 11, 2019
@ikedas ikedas changed the title [bug] Sympa::Aliases::Template creates exclusive lock on local storage Sympa::Aliases::Template creates exclusive lock on local storage Apr 11, 2019
@racke
Copy link
Contributor

racke commented Apr 11, 2019

Makes sense to me 👍

@dverdin
Copy link
Contributor

dverdin commented Apr 11, 2019

I don't see any side effect that could come from this.
It's good to me. 👍

@ikedas ikedas merged commit cbc02da into sympa-community:sympa-6.2 Apr 18, 2019
ikedas added a commit to ikedas/sympa that referenced this pull request Apr 25, 2019
… aliases file is opened.

Fixed by opening aliases file as Sympa::LockedFile instance.
Note: To keep exclusive processing by file lock effective, file won't be closed (unlocked) before newaliases will be finised.
@ikedas ikedas mentioned this pull request Apr 25, 2019
ikedas added a commit that referenced this pull request May 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants