Skip to content

Merge develop to release#701

Merged
pkova merged 5 commits intoreleasefrom
develop
Aug 8, 2024
Merged

Merge develop to release#701
pkova merged 5 commits intoreleasefrom
develop

Conversation

@pkova
Copy link
Copy Markdown
Collaborator

@pkova pkova commented Aug 8, 2024

No description provided.

matthew-levan and others added 5 commits August 2, 2024 11:29
The PR replaces vere's current (buggy, insufficient) lockfile mechanism
with an advisory `fcntl()` write lock (`F_SETLK`, `F_WRLCK`) on the
first byte of vere's PID file (`$pier/.vere.lock`). It does not (yet?)
include the functionality to kill the lock-holder and take over the
pier, as I'm not sure that's desirable.

There have been many problems with vere's current lockfile
implementation. The biggest advantage of this approach is that the lock
is automatically released if the process is killed or the host system
crashes. The biggest question is: does it work reliably across docker
shared volumes, virtual machines, &c.
@pkova pkova requested a review from a team as a code owner August 8, 2024 10:26
@pkova pkova merged commit fa249d0 into release Aug 8, 2024
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

Successfully merging this pull request may close these issues.

3 participants