obkv-table-client-java icon indicating copy to clipboard operation
obkv-table-client-java copied to clipboard

Fix hbase tablegroup operations being hold for a long time

Open JackShi148 opened this issue 11 months ago • 0 comments

Summary

In getTableInternal, if there is a new tablet operations, client will refresh this tablet location from servers, and the main thread will be hold. In the specific situation that if a multi-cf hbase operation mapping to a new tablet comes, but the table cached by the client has been drop, the tablet location will never be returned from servers and the main thread will be hold to timeout.

Solution Description

Add waiting limit for the holding time, if fail to wait for the location returned, throw exception to refresh tablegroup caching.s

JackShi148 avatar Feb 25 '25 07:02 JackShi148