-
Notifications
You must be signed in to change notification settings - Fork 72
URIs missing during failover #814
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
Comments
I am not reproducing this in my cluster. Both this and #813 have failed with the same exception.
A similar error has been reported with Okhttp but it has been ruled out as a server issue. Will try it out on the stress cluster next week. |
Have filed square/okhttp#3629 against Okhttp for this issue to create a more generic exception. Meanwhile adding a custom listener similar to HostAvailabilityListener to handle the cases where there is no response from the server. |
After the fix, all the URIs are returned |
@vivekmuniyandi finally how did u solve it? am facing similar issue.. Not able to conclude whether its server issue or mobile okhttp connection issue. |
@reshbu , are you running into a problem with the MarkLogic Java API? If so, please work with your support contact to provide a reproducible case. If not, please raise OkHttp questions on the OkHttp repository or on a general resource such as Stack Overflow. |
In the following test, I have 3 node cluster (rh7v-intel64-90-java-stress-1/2/4.marklogic.com) with a forest on each of the hosts and forests on hosts rh7v-intel64-90-java-stress-2/4.marklogic.com configured to failover to rh7v-intel64-90-java-stress-1.marklogic.com. When Query batcher is executed, I stop and start rh7v-intel64-90-java-stress-4.marklogic.com multiple times (for a duration less than suspend time for batcher, greater than suspend time and then greater than node timeout making the forest QBFailover-3 fail over to rh7v-intel64-90-java-stress-1.marklogic.com. In this scenario, the total URIs returned is less than expected. The log is attached
TEST-com.marklogic.client.datamovement.functionaltests.QBFailover.txt
The text was updated successfully, but these errors were encountered: