-
Notifications
You must be signed in to change notification settings - Fork 25k
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
[ML-DataFrame] Remove ID field from data frame indexer stats #44768
[ML-DataFrame] Remove ID field from data frame indexer stats #44768
Conversation
This is a followup to elastic#44350. The indexer stats used to be persisted standalone, but now are only persisted as part of a state-and-stats document. During the review of elastic#44350 it was decided that we'll stick with this design, so there will never be a need for an indexer stats object to store its transform ID as it is stored on the enclosing document. This PR removes the indexer stats document ID.
Pinging @elastic/ml-core |
Jenkins run elasticsearch-ci/2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@@ -57,60 +55,46 @@ | |||
LENIENT_PARSER.declareLong(constructorArg(), SEARCH_FAILURES); | |||
} | |||
|
|||
private final String transformId; | |||
|
|||
/** | |||
* Certain situations call for a default transform ID, e.g. when merging many different transforms for statistics gather. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: these comments aren't true anymore
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I removed the method as well as the comment as after the other changes I don't think it was adding much over calling the default constructor.
Mutes data frame BWC tests prior to backporting elastic#44768
Mutes data frame BWC tests prior to backporting #44768
This is a followup to #44350. The indexer stats used to be persisted standalone, but now are only persisted as part of a state-and-stats document. During the review of #44350 it was decided that we'll stick with this design, so there will never be a need for an indexer stats object to store its transform ID as it is stored on the enclosing document. This PR removes the indexer stats document ID. Backport of #44768
Mutes data frame BWC tests prior to backporting #44768
This is a followup to #44350. The indexer stats used to
be persisted standalone, but now are only persisted as
part of a state-and-stats document. During the review
of #44350 it was decided that we'll stick with this
design, so there will never be a need for an indexer
stats object to store its transform ID as it is stored
on the enclosing document. This PR removes the indexer
stats document ID.