[PATCH] Improve CTDB database recovery

Amitay Isaacs amitay at gmail.com
Wed Mar 23 05:01:44 UTC 2016


On Wed, Mar 23, 2016 at 3:29 PM, Amitay Isaacs <amitay at gmail.com> wrote:

> Hi,
>
> Here are the patches to avoid using a single large buffer for database
> recovery.  This approach can fail for databases with lots of records as
> there is a limit on the size of single talloc buffer (256M).  In the new
> approach, CTDB sends the records in batches with each buffer roughly the
> size specified by RecBufferSizeLimit tunable.
>
> Also add banning of misbehaving nodes (where pulling records from a node
> fails) during recovery.  This was missing in the parallel database recovery
> code.
>
> Please review and push.
>
> Amitay.
>

Here's a small fixup for the last patch in the series to make -O3 build
work.

Amitay.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ctdb-recovery-helper-Fix-O3-build.patch
Type: application/text
Size: 863 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20160323/a1a047a9/0001-ctdb-recovery-helper-Fix-O3-build.bin>


More information about the samba-technical mailing list