Skip to content

JAVA-1357: Update documentation for getReplicas#779

Merged
adutra merged 1 commit into
3.0.xfrom
java1357
Feb 10, 2017
Merged

JAVA-1357: Update documentation for getReplicas#779
adutra merged 1 commit into
3.0.xfrom
java1357

Conversation

@tolbertam
Copy link
Copy Markdown
Contributor

For JAVA-1357

Motivation:

Metadata.getReplicas(String, TokenRange) currently assumes that the
TokenRange provided represents a TokenRange for a single host. Because
of this, it finds the replicas for the last Token on that range instead
of considering the entire range. Document that this is the case.

Modifications:

Updated method javadoc.

@tolbertam tolbertam modified the milestones: 3.0.6, 3.0.7 Dec 28, 2016
adutra
adutra previously approved these changes Feb 9, 2017
@adutra adutra dismissed their stale review February 9, 2017 10:05

Found something that needs change

Comment thread changelog/README.md Outdated
- [bug] JAVA-1351: Include Custom Payload in Request.copy.
- [bug] JAVA-1346: Reset heartbeat only on client reads (not writes).
- [improvement] JAVA-866: Support tuple notation in QueryBuilder.eq/in.
- [improvement] JAVA-1357: Document that getReplicas only returns replicas of the last token in range.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should now be placed under 3.0.7.

@adutra
Copy link
Copy Markdown
Contributor

adutra commented Feb 9, 2017

Went ahead and did the change myself. 👍

Motivation:

Metadata.getReplicas(String, TokenRange) currently assumes that the
TokenRange provided represents a TokenRange for a single host. Because
of this, it finds the replicas for the last Token on that range instead
of considering the entire range.  Document that this is the case.

Modifications:

Updated method javadoc.
@adutra adutra merged commit 1116ae9 into 3.0.x Feb 10, 2017
@adutra adutra deleted the java1357 branch February 10, 2017 16:14
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