[
https://issues.apache.org/jira/browse/HBASE-20107?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Zephyr Guo updated HBASE-20107:
-------------------------------
Description:
RS might get stuck because of HBASE-14317. I met same problem in my hbase, and
HBASE-14317 can solve this problmen very well.
But I don't get stuck when I run
_TestWalLockup.testLockupWhenSyncInMiddleOfZigZagSetup_.
We'll never see stuck in this test case, because
FailedSyncBeforeLogCloseException will break
_zigzagLatch.waitSafePoint(SyncFuture)_. Finally,
_zigzagLatch.releaseSafePoint()_ will be call, and _attainSafePoint(long)_ get
out stuck.
Here, we add a new test case to simulate stuck RS correctly.
was:
RS might get stuck because of HBASE-14317. I met same problem in my hbase, and
HBASE-14317 can solve this problmen very well.
But I don't get stuck when I run
`TestWalLockup.testLockupWhenSyncInMiddleOfZigZagSetup`.
We'll never see stuck in this test case, because
`FailedSyncBeforeLogCloseException` will break
`zigzagLatch.waitSafePoint(SyncFuture)`. Finally,
`zigzagLatch.releaseSafePoint()` will be call, and `attainSafePoint` get out
stuck.
Here, we add a new test case to simulate stuck RS correctly.
> Add a test case for HBASE-14317
> -------------------------------
>
> Key: HBASE-20107
> URL: https://issues.apache.org/jira/browse/HBASE-20107
> Project: HBase
> Issue Type: Test
> Components: wal
> Affects Versions: 3.0.0
> Reporter: Zephyr Guo
> Priority: Minor
> Fix For: 3.0.0
>
> Attachments: HBASE-20107-v1.patch
>
>
> RS might get stuck because of HBASE-14317. I met same problem in my hbase,
> and HBASE-14317 can solve this problmen very well.
> But I don't get stuck when I run
> _TestWalLockup.testLockupWhenSyncInMiddleOfZigZagSetup_.
> We'll never see stuck in this test case, because
> FailedSyncBeforeLogCloseException will break
> _zigzagLatch.waitSafePoint(SyncFuture)_. Finally,
> _zigzagLatch.releaseSafePoint()_ will be call, and _attainSafePoint(long)_
> get out stuck.
> Here, we add a new test case to simulate stuck RS correctly.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)