-
Notifications
You must be signed in to change notification settings - Fork 29
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
Validation of [null]
slice for []int
should not pass
#271
Comments
Hi @lahsivjar , @simitt explained to me a little bit the context of this. Do you think this is still worth it? Shall we close it? In any case, this is too late for the 9.0 as it was initially planned. |
@raultorrecilla I have completely paged this out of memory and I don't recall what will be the impact of having essentially empty histograms indexed as metrics. If the impact is not noteworthy then I am okay to close it. |
I wonder if we should revisit nil handling and be more forgiving (ignore the value instead of failing) |
+1 on implementing this in a non-breaking way (relaxing the check), which also takes pressure out of the timelines. Allowing nil values and filtering them out sounds like a good solution with low risk. |
removing this from 9.0 candidate |
With empty slices the validation will fail. Example:
But with
null
values in the slices validation will not fail. Example:I think both should have the same behavior.
The text was updated successfully, but these errors were encountered: