-
Notifications
You must be signed in to change notification settings - Fork 25.7k
Break on FieldData when building global ordinals #108875
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
Conversation
|
Pinging @elastic/es-analytical-engine (Team:Analytics) |
|
Hi @iverase, I've created a changelog YAML for you. |
|
I think this is the right thing to do, but:
|
… into globalOrdinalBreak
|
This seems like the safe thing to do. Why wouldn't we want to check the CB on ordinal creation to protect users? |
|
@elasticmachine update branch |
|
@elasticmachine update branch |
|
@iverase Did we want to pursue this one? |
nik9000
left a comment
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.
Let's do it.
|
@elasticmachine please test this |
This commit adds the bytes and break if we get over the limit of the breaker when building global ordinals.
This commit adds the bytes and break if we get over the limit of the breaker when building global ordinals.
This commit adds the bytes and break if we get over the limit of the breaker when building global ordinals.
This commit adds the bytes and break if we get over the limit of the breaker when building global ordinals.
This commit adds the bytes and break if we get over the limit of the breaker when building global ordinals.
Currently when building global ordinals, we add to the breaker the size of the final object without breaking. I think the reason for not breaking is that it makes little sense to break at that point if we already build the object. The side effect is that we don't honour the breaker limit which is equally bad.
Therefore this commit proposes to add the bytes and break if we get over the limit of the breaker. the side effect is that working cluster might be hitting this breaker now. Still not honouring a limit should be considered a bug.
closes #97075