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

  • From: Konstantin Osipov <kostja@xxxxxxxxxxxxx>
  • To: tarantool-patches@xxxxxxxxxxxxx
  • Date: Mon, 23 Jul 2018 23:30:19 +0300

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



-- 
Konstantin Osipov, Moscow, Russia, +7 903 626 22 32
http://tarantool.io - www.twitter.com/kostja_osipov

Other related posts: