Comments (3)
@LG991103 you have to use context with deadine/timeout if you want your requests to exit without retrying forever. It's not stuck, the default behavior is to retry forever until the request goes through to regionserver (it becomes available and starts accepting the requests for that region you are trying to send to).
The 10 times retry is only for unrecoverable cases where we can't determine which region to send the request to. So maybe zookeeper missing the state, or maybe master is down and haven't updated zookeeper for a while. Pretty much if you are getting ErrCannotFindRegion, hbase operator needs to go in an see if everything is healthy with the cluster.
from gohbase.
from gohbase.
Indeed there is 2 levels of retries here. The first one getRegionForRpc
that will try 10 times and the second one in lookupRegion
that just exponentially retry forever. They do have different purpose. I will have to dig more.
from gohbase.
Related Issues (20)
- hrpc.NumberOfRows is not working HOT 11
- Rename/document hrpc.Families to indicate that you can specify column qualifiers HOT 2
- client error HOT 4
- scan with a specific timestamp range HOT 2
- Can github.com/golang/mock upgrade to v1.5.0?
- Bump go.mod go version to go1.18? HOT 1
- how could we compare two numbers using filter when scan HOT 1
- batch operation support ? HOT 1
- Why is Scan operation stuck for ~1s every X records retrieved? And How to disable logger? HOT 4
- Client logging should be configurable
- does gohbase client have transaction functionallity? HOT 1
- OpenTelemetry can be set as optional HOT 1
- Support read from replicated meta table
- HBbase serialization cannot obtain the timeout period? HOT 4
- sleepAndIncreaseBackoff should have max backoff value
- Host not updated HOT 1
- RegionClient{Addr: localhost:16020} HOT 1
- zookeeper连接时间为什么是30秒? 对于web服务来说是不是太长了? HOT 2
- How to improve the performance of `scan` operation? HOT 2
- How do I know a scan result is returned due to MaxResultSize limit? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gohbase.