-
Notifications
You must be signed in to change notification settings - Fork 199
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Aerospike scan returns error "command execution timed out on client: See Policy.Timeout
"
#396
Comments
See Policy.Timeout
"Policy.Timeout
"
Can you elaborate a bit about your use case? How big is the namespace/set you are scanning? Do you have a particularly unstable network connection to the cluster? Can't you resume your scan by passing the same |
@khaf The namespace is about 110 GB big, the sets that are often timed out are about 900 MB / 7 million records, 200 MB / 2 million records, 500 MB / 3.5 million records, and 500 MB / 2 million records respectively. The network connection should be pretty stable since both clients and servers are hosted on AWS and connected within the same VPC. The errors occurred in the middle of the scan from the |
@khaf The similar thing after I've updated from 6.4 to 6.10 aerospike version: Aerospike Community Edition build 5.6.0.5
I do scan with a Query with a FilterExpression over millions of records. One-record processing takes 200ms-3000ms, but I do it with a multiple goroutines.
Looks this returns
|
Also I see the following change f0d2818 So what's a behaviour will be, when we get out of retries? How to check if the whole set will be read? |
I am wondering which parameter I should config to make it less likely to time out? I don't see a
Timeout
field in theScanPolicy
, I tried to increaseScanPolicy.SocketTimeout
to 5 minutes, and this error still occurs.PS: I set the
MaxRetries
to 10000The text was updated successfully, but these errors were encountered: