[
https://issues.apache.org/jira/browse/HBASE-25901?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17348570#comment-17348570
]
yuhailang commented on HBASE-25901:
-----------------------------------
Since queues's operation is to write less and read more, I think it's okay to
use HashMap, just write with synchronized and double check.
> Replication maybe lose data when the regionserver is restarted.
> ---------------------------------------------------------------
>
> Key: HBASE-25901
> URL: https://issues.apache.org/jira/browse/HBASE-25901
> Project: HBase
> Issue Type: Bug
> Components: Replication
> Affects Versions: 2.1.4
> Environment: hbase version: 2.1.4
> hbase.wal.provider: multiwal
>
> Reporter: yuhailang
> Priority: Minor
> Attachments: HBASE-25901-v1.patch
>
> Original Estimate: 12h
> Remaining Estimate: 12h
>
> When multiwal is used, restarting the region server may result in the loss of
> replication data.This may be due to a non thread safe update of the queues in
> the ReplicationSource#
> enqueueLog.
> .
--
This message was sent by Atlassian Jira
(v8.3.4#803005)