[PATCH] ctdb-daemon: Free up record data if a call request is deferred (bug 13029)

Amitay Isaacs amitay at gmail.com
Wed Sep 13 01:27:54 UTC 2017


If a call request for a key (migration request) is in flight, then all
the subsequent call requests for the same key are deferred.  In that case,
the data corresponding to key read from the local tdb is useless and there
is no need to keep it around.  Once the deferred call is reprocessed,
the data corresponding to that key will be fetched again.

For smb workload with lots of contention, this can result in
CTDB consuming gigabytes of memory.

Please review and push.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ctdb-daemon-Free-up-record-data-if-a-call-request-is.patch
Type: text/x-patch
Size: 1215 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20170913/4d9b0ccf/0001-ctdb-daemon-Free-up-record-data-if-a-call-request-is.bin>

More information about the samba-technical mailing list