[jira] [Resolved] (HBASE-27897) ConnectionImplementation#locateRegionInMeta should pause and retry when taking user region lock failed

2023-07-11 Thread Peter Somogyi (Jira)


 [ 
https://issues.apache.org/jira/browse/HBASE-27897?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Peter Somogyi resolved HBASE-27897.
---
Resolution: Fixed

Merted the addendum to branch-2.4. Thanks for the review, [~zhangduo]!

> ConnectionImplementation#locateRegionInMeta should pause and retry when 
> taking user region lock failed
> --
>
> Key: HBASE-27897
> URL: https://issues.apache.org/jira/browse/HBASE-27897
> Project: HBase
>  Issue Type: Improvement
>  Components: Client
>Affects Versions: 2.4.17, 2.5.4
>Reporter: Xiaolin Ha
>Assignee: Xiaolin Ha
>Priority: Major
> Fix For: 2.6.0, 2.4.18, 2.5.6
>
>
> It just throws exception and skips the pause and retry logic when 
> ConnectionImplementation#takeUserRegionLock fails. In some circumstances, no 
> pause and retry by outer logic will make next 
> ConnectionImplementation#takeUserRegionLock still fails, since all the 
> threads simultaneously grab the lock.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)


[jira] [Resolved] (HBASE-27897) ConnectionImplementation#locateRegionInMeta should pause and retry when taking user region lock failed

2023-06-07 Thread Xiaolin Ha (Jira)


 [ 
https://issues.apache.org/jira/browse/HBASE-27897?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Xiaolin Ha resolved HBASE-27897.

Fix Version/s: 2.6.0
   2.4.18
   2.5.6
   Resolution: Fixed

Merged to branch-2, branch-2.4 and branch-2.5, thanks [~wchevreuil] for 
reviewing!

> ConnectionImplementation#locateRegionInMeta should pause and retry when 
> taking user region lock failed
> --
>
> Key: HBASE-27897
> URL: https://issues.apache.org/jira/browse/HBASE-27897
> Project: HBase
>  Issue Type: Improvement
>  Components: Client
>Affects Versions: 2.4.17, 2.5.4
>Reporter: Xiaolin Ha
>Assignee: Xiaolin Ha
>Priority: Major
> Fix For: 2.6.0, 2.4.18, 2.5.6
>
>
> It just throws exception and skips the pause and retry logic when 
> ConnectionImplementation#takeUserRegionLock fails. In some circumstances, no 
> pause and retry by outer logic will make next 
> ConnectionImplementation#takeUserRegionLock still fails, since all the 
> threads simultaneously grab the lock.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)