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

System indices auto-create for searchable-snapshots #66940

Conversation

pugnascotia
Copy link
Contributor

Backport of #66276.

Part of #61656. Use the system indices auto-creation infrastructure
for the searchable snapshots plugin.

Backport of elastic#66276.

Part of elastic#61656. Use the system indices auto-creation infrastructure
for the searchable snapshots plugin.
@pugnascotia pugnascotia added :Distributed Indexing/Distributed A catch all label for anything in the Distributed Area. Please avoid if you can. >refactoring backport v7.12.0 labels Jan 4, 2021
@elasticmachine elasticmachine added the Team:Distributed (Obsolete) Meta label for distributed team (obsolete). Replaced by Distributed Indexing/Coordination. label Jan 4, 2021
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-distributed (Team:Distributed)

Copy link
Member

@tlrx tlrx left a comment

Choose a reason for hiding this comment

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

LGTM but I've left minor comments

);
@Override
public void onFailure(Exception e) {
logger.debug(new ParameterizedMessage("failure in cache fill: [{}]", request.id()), e);
Copy link
Member

Choose a reason for hiding this comment

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

We can use debug(Supplier<?> msgSupplier, Throwable t)

});
});
} catch (Exception e) {
logger.warn(new ParameterizedMessage("cache fill failure: [{}]", CachedBlob.generateId(repository, name, path, offset)), e);
Copy link
Member

Choose a reason for hiding this comment

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

We should use warn(Supplier<?> msgSupplier, Throwable t)

@pugnascotia
Copy link
Contributor Author

@tlrx thanks for the review. I won't change those logging methods as they are the same in master.

@pugnascotia pugnascotia merged commit 065dc33 into elastic:7.x Jan 6, 2021
@pugnascotia pugnascotia deleted the 61656-auto-create-searchable-snapshots-7x branch January 6, 2021 12:05
@tlrx
Copy link
Member

tlrx commented Jan 6, 2021

Thanks. I think we can change them in master too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport :Distributed Indexing/Distributed A catch all label for anything in the Distributed Area. Please avoid if you can. >refactoring Team:Distributed (Obsolete) Meta label for distributed team (obsolete). Replaced by Distributed Indexing/Coordination. v7.12.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants