Nick Dimiduk created HBASE-27761:
------------------------------------
Summary: Replication threads not attached to their parent process
Key: HBASE-27761
URL: https://issues.apache.org/jira/browse/HBASE-27761
Project: HBase
Issue Type: Task
Components: read replicas, regionserver, Replication
Affects Versions: 2.5.4
Reporter: Nick Dimiduk
While debugging HBASE-27707 in a unit test, I see behaviour that I cannot
explain. My test uses a minicluster, enables read replica replication, writes
some data, concurrently kills a region server thread hosting a primary region,
and then verifies that all replicas eventually show all data. Inspecting logs,
noticed that replication source threads seem to continue working even after
their associated region server is killed. Interspersing some thread dumps and
sleeps, I can see that replication threads associated with the condemned region
server are not being removed after it is killed. I think that this behaviour
will render unreliably any replication test that relies on killing a source or
sink region server. It also implies to me that the minicluster leaks
replication threads and cannot be reliably recycled within a single jvm process.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)