Skip to content

Simplify locking code#567

Merged
funny-falcon merged 2 commits into
REL_2_6from
REL_2_6_PBCKP-341
Nov 28, 2022
Merged

Simplify locking code#567
funny-falcon merged 2 commits into
REL_2_6from
REL_2_6_PBCKP-341

Conversation

@funny-falcon

Copy link
Copy Markdown
Contributor

No description provided.

This function checks for concurrent locker by "kill" command, which is
strictly local. There is no way to make it remote reliably.
More over, we have to write pid of remote agent.
So, if for whatever reason we will need to lock backup on remote host,
we'd better call this function from agent.

And, it will be better to use fcntl(F_SETLK) on Unix and
LockFileEx on Windows. But lets leave it for future.
@funny-falcon funny-falcon merged commit 0a0f946 into REL_2_6 Nov 28, 2022
@funny-falcon funny-falcon deleted the REL_2_6_PBCKP-341 branch November 28, 2022 07:15
@Burus Burus added this to the 2.6.0 milestone Dec 21, 2022
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.

2 participants