[
https://issues.apache.org/jira/browse/HBASE-25901?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17348542#comment-17348542
]
Duo Zhang commented on HBASE-25901:
-----------------------------------
The queues is a ConcurrentMap, so putting entries into it concurrently is fine.
And for multiwal, different WALs will have different logPrefix, so I do not
think we have race here?
> 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)