TDB mutex support breaks CTDB

Amitay Isaacs amitay at gmail.com
Fri Dec 19 03:20:51 MST 2014


On Fri, Dec 19, 2014 at 7:23 PM, Amitay Isaacs <amitay at gmail.com> wrote:
>
>
>
> On Thu, Dec 18, 2014 at 9:10 PM, Stefan (metze) Metzmacher <
> metze at samba.org> wrote:
>>
>> Hi Amitay,
>>
>> are the patches in
>> https://git.samba.org/?p=amitay/samba.git;a=shortlog;h=refs/heads/ctdb-wip
>> (the top commit
>>
>> https://git.samba.org/?p=amitay/samba.git;a=commitdiff;h=b55960ece236dc7c32fbbbbea986cb84b0baa987
>> )
>> ready for master?
>>
>> I think we need  #ifdef TDB_MUTEX_LOCKING arround uint32_t mutex_enabled
>> = 0;
>> Otherwise it looks good to me, if you tested it.
>>
>> Then we could push all of them and backport for 4.2.0rc3 (which is
>> likely to happen
>> later today or tomorrow).
>>
>> metze
>>
>>
> Hi Metze,
>
> I have pushed tdb changes to autobuild.  Will post the modified ctdb patch
> in couple of hours.
>
> Amitay.
>

Here is a patch for CTDB to correctly pass tdb flags to tdb_open() when
mutex support is enabled.

Amitay.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ctdb-daemon-Use-correct-tdb-flags-when-enabling-robu.patch
Type: text/x-patch
Size: 8265 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20141219/dd4cd69f/attachment.bin>


More information about the samba-technical mailing list