MB-23714: Use a weak_ptr in DcpBackfillMemory task 58/76558/9
authorJim Walker <jim@couchbase.com>
Mon, 10 Apr 2017 15:05:24 +0000 (16:05 +0100)
committerDave Rigby <daver@couchbase.com>
Wed, 19 Apr 2017 11:33:10 +0000 (11:33 +0000)
commitc90b04d8e424ab4cc4f8e22882929685bbe9e265
tree2c7d5341f5a9d13555ed6e9fba948fa340f7b5ae
parent0c379f9641cec3df134521e3b23d950dfd1983c0
MB-23714: Use a weak_ptr in DcpBackfillMemory task

Ensures there can be no cyclic dependency with VB pointers in the
complex DCP slab of objects and tasks.

Change-Id: I89d902ff0aa0c69dcd598653ae40cda34ea582f9
Reviewed-on: http://review.couchbase.org/76558
Reviewed-by: Dave Rigby <daver@couchbase.com>
Tested-by: Build Bot <build@couchbase.com>
src/dcp/backfill_memory.cc
src/dcp/backfill_memory.h