-
Notifications
You must be signed in to change notification settings - Fork 25.3k
Rename "after" field #32624
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
Rename "after" field #32624
Conversation
This commit renames the "after" field to "index_age". This makes it more explicit that the phase is dependent on the age of the index, not on the completion time of the previous phase. Relates to elastic#29823
Pinging @elastic/es-core-infra |
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.
thanks for this! I think index_age
is an improvement over after
. I think index_age
's downfall of not being able to describe our adjustment for rolled-over data timing was shared with after
.
+1 to this change and making sure we overcome the ambiguity in documentation
I'm not sure about this change because of the fact that once we've rolled over he age is based on the data age (more specifically the timestamp we rolled over on) rather than the time since index creation so calling it |
Yeah this is no hurry other than the conflicts that pile up as we add stuff, we can wait and see what @eskibars thinks |
I think
For now, I'd recommend something like |
@eskibars my concern with |
I concede it's long, but it seems there's likely a tradeoff between ambiguity and length in this case given how it works. I'm not sure what you mean by it hijacking the "rollover" term though. |
Since we use "rollover" as an action, I'm concerned we're hijacking that age (rollover every 7 days for instance) to be different, consider:
We have "rollover" twice there, once associated with 12 hours and once with 24 hours, I'm concerned that it's confusing to conflate the index age for a phase with an action that occurs in a phase |
Alternatively, we could call it just " |
How about |
I like it more than |
I like it more than index_age, since it sets no expectations of index age vs time of rollover. And I like it better than "after," since the "age" part implies it relates to absolute value rather than an incremental value from the previous step. It's less explicit than "index_age" about what the age of the thing is, but that's intentional since we actually don't know whether we're telling the user index age vs rollover date at that point. Is there more info on why you like it less than index_age? |
I like the description-subject relationship more and it's probably more of a personal preference thing. I'm not -1 on |
After discussion we've decided to go with |
This renames the "after" field to better reflect what the meaning is. Supercedes elastic#32624
This renames the "after" field to better reflect what the meaning is. Supercedes #32624
This renames the "after" field to better reflect what the meaning is. Supercedes #32624
This commit renames the "after" field to "index_age". This makes it more
explicit that the phase is dependent on the age of the index, not on the
completion time of the previous phase.
Relates to #29823