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

Amitay Isaacs amitay at gmail.com
Wed Sep 13 05:10:56 UTC 2017


On Wed, Sep 13, 2017 at 11:41 AM, Martin Schwenke <martin at meltin.net> wrote:

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

Pushed to autobuild.

Amitay.


More information about the samba-technical mailing list