[PATCH] CTDB: Implement re-checking in mutex fcntl helper for recovery lock

Amitay Isaacs amitay at gmail.com
Fri Jul 26 02:35:48 UTC 2019


On Thu, Jul 25, 2019 at 3:57 PM Martin Schwenke via samba-technical
<samba-technical at lists.samba.org> wrote:
>
> ctdb_mutex_fcntl_helper does not re-check that the file it locked still
> exists and is still the same file.  Add re-checking and implement tests
> for ctdb_cluster_mutex() and ctdb_mutex_fcntl_helper.  Clean up
> the 01.reclock.script event script and associated tests.
>
> CI pipeline running here:
>
>   https://gitlab.com/samba-team/devel/samba/pipelines/72839484
>
> Please review and maybe push...
>
> peace & happiness,
> martin

Pushed to autobuild with a small change to the error message and
corresponding tests as discussed offline.

Amitay.



More information about the samba-technical mailing list