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

Remove duplicated consistency level and replication type setters #10188

Conversation

javanna
Copy link
Member

@javanna javanna commented Mar 20, 2015

setConsistencyLevel and setReplicationType are already present in the base class ShardReplicationOperationRequestBuilder. They are not needed in DeleteRequestBuilder and IndexRequestBuilder.

…tters

`setConsistencyLevel` and `setReplicationType` are already present in the base class `ShardReplicationOperationRequestBuilder`. They are not needed in `DeleteRequestBuilder` and `IndexRequestBuilder`.
@s1monw
Copy link
Contributor

s1monw commented Mar 20, 2015

this is 1.6 only I removed those all in 2.0 already

@javanna
Copy link
Member Author

javanna commented Mar 20, 2015

@s1monw async replication has been removed from master, write consistency is still there: https://github.com/elastic/elasticsearch/blob/master/src/main/java/org/elasticsearch/action/index/IndexRequestBuilder.java#L259 .

That is why this PR is against 1.x, when cherry-picking to master I will take care of conflicts.

@s1monw
Copy link
Contributor

s1monw commented Mar 20, 2015

kk

@s1monw
Copy link
Contributor

s1monw commented Mar 20, 2015

LGTM

@javanna javanna closed this in 66fa72f Mar 21, 2015
@javanna javanna removed the review label Mar 21, 2015
@clintongormley clintongormley changed the title Java API: remove duplicated consistency level and replication type setters Remove duplicated consistency level and replication type setters May 30, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants