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 unused ?master_node_timeout compat shims #108601

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,6 @@ protected AcknowledgedRequest(TimeValue masterNodeTimeout, TimeValue ackTimeout)
this.ackTimeout = Objects.requireNonNull(ackTimeout);
}

@Deprecated(forRemoval = true) // just a temporary compatibility shim
protected AcknowledgedRequest(TimeValue ackTimeout) {
this(MasterNodeRequest.TRAPPY_IMPLICIT_DEFAULT_MASTER_NODE_TIMEOUT, ackTimeout);
}

protected AcknowledgedRequest(StreamInput in) throws IOException {
super(in);
this.ackTimeout = in.readTimeValue();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,6 @@ public Request(TimeValue masterNodeTimeout, TimeValue requestTimeout) {
this.requestTimeout = Objects.requireNonNull(requestTimeout);
}

@Deprecated(forRemoval = true) // temporary compatibility shi
public Request(TimeValue timeout) {
this(TRAPPY_IMPLICIT_DEFAULT_MASTER_NODE_TIMEOUT, timeout);
}

public Request(StreamInput in) throws IOException {
super(in);
this.requestTimeout = in.readTimeValue();
Expand Down