[PATCH] Improve CTDB database recovery

Amitay Isaacs amitay at gmail.com
Wed Mar 23 04:29:13 UTC 2016


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ctdb.patches
Type: application/octet-stream
Size: 115330 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20160323/4a97c8f8/ctdb-0001.obj>


More information about the samba-technical mailing list