[tarantool-patches] Re: [PATCH] replication: unregister replica with gc if deleted from cluster

  • From: Vladimir Davydov <vdavydov.dev@xxxxxxxxx>
  • To: Konstantin Osipov <kostja@xxxxxxxxxxxxx>
  • Date: Tue, 24 Jul 2018 11:37:01 +0300

On Mon, Jul 23, 2018 at 11:30:19PM +0300, Konstantin Osipov wrote:

* Vladimir Davydov <vdavydov.dev@xxxxxxxxx> [18/07/23 00:34]:

When a replica is removed from the cluster table, the corresponding
replica struct isn't destroyed unless both the relay and the applier
attached to it are stopped, see replica_clear_id(). Since replica struct
is a holder of the garbage collection state, this means that in case an
evicted replica has an applier or a relay that fails to exit for some
reason, garbage collection will hang.

I failed to merge this into 1.10, please help.

Done.

Other related posts: