Skip to content
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

Fix remote execution for partially replicated clusters #5843

Merged
merged 1 commit into from
Feb 25, 2016

Conversation

jsternberg
Copy link
Contributor

The RPC handler for remote queries would attempt to reuse a closed
connection for certain commands that didn't use pooling. The RPC
commands that close the connection have been fixed to not try reusing
the connection.

When creating an iterator, if there are no points to return, the points
decoder would hit an EOF that it didn't catch and would return that
error back to the client who made the request. It now properly returns
no points by using a nilFloatIterator if there are no points to
return.

This fixes remote execution when a cluster has nothing to return.

The RPC handler for remote queries would attempt to reuse a closed
connection for certain commands that didn't use pooling. The RPC
commands that close the connection have been fixed to not try reusing
the connection.

When creating an iterator, if there are no points to return, the points
decoder would hit an EOF that it didn't catch and would return that
error back to the client who made the request. It now properly returns
no points by using a `nilFloatIterator` if there are no points to
return.

This fixes remote execution when a cluster has nothing to return.
@jsternberg
Copy link
Contributor Author

/cc @benbjohnson

@benbjohnson
Copy link
Contributor

👍

jsternberg added a commit that referenced this pull request Feb 25, 2016
Fix remote execution for partially replicated clusters
@jsternberg jsternberg merged commit 1cec8e7 into master Feb 25, 2016
@jsternberg jsternberg deleted the js-fix-remote-point-decoder branch February 25, 2016 23:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants