obkv-table-client-java
obkv-table-client-java copied to clipboard
Fix hbase tablegroup operations being hold for a long time
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