You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Ashu Pachauri (JIRA)" <ji...@apache.org> on 2016/06/22 01:47:57 UTC

[jira] [Created] (HBASE-16081) Replication remove_peer gets stuck and blocks WAL rolling

Ashu Pachauri created HBASE-16081:
-------------------------------------

             Summary: Replication remove_peer gets stuck and blocks WAL rolling
                 Key: HBASE-16081
                 URL: https://issues.apache.org/jira/browse/HBASE-16081
             Project: HBase
          Issue Type: Bug
          Components: regionserver, Replication
            Reporter: Ashu Pachauri
            Assignee: Ashu Pachauri


We use a blocking take from CompletionService in HBaseInterClusterReplicationEndpoint. When we remove a peer, we try to shut down all threads gracefully. But, under certain race condition, the underlying executor gets shutdown and the CompletionService#take will block forever, which means the remove_peer call will never gracefully finish.
Since ReplicationSourceManager#removePeer and ReplicationSourceManager#recordLog lock on the same object, we are not able to roll WALs in such a situation and will end up with gigantic WALs.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)