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

Martin Schwenke martin at meltin.net
Wed Sep 13 01:41:08 UTC 2017


On Wed, 13 Sep 2017 11:27:54 +1000, Amitay Isaacs via samba-technical
<samba-technical at lists.samba.org> wrote:

> 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.

Reviewed-by: Martin Schwenke <martin at meltin.net>

peace & happiness,
martin



More information about the samba-technical mailing list