-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Do not truncate tags in Elasticsearch #1970
Do not truncate tags in Elasticsearch #1970
Conversation
Signed-off-by: Pavol Loffay <ploffay@redhat.com>
Codecov Report
@@ Coverage Diff @@
## master #1970 +/- ##
==========================================
+ Coverage 96.99% 96.99% +<.01%
==========================================
Files 203 203
Lines 10061 10062 +1
==========================================
+ Hits 9759 9760 +1
Misses 264 264
Partials 38 38
Continue to review full report at Codecov.
|
Bender Bending Rodrigues Bender Bending Rodrigues Bender Bending Rodrigues Bender Bending Rodrigues Bender Bending Rodrigues | ||
Bender Bending Rodrigues Bender Bending Rodrigues Bender Bending Rodrigues Bender Bending Rodrigues Bender Bending Rodrigues | ||
Bender Bending Rodrigues Bender Bending Rodrigues Bender Bending Rodrigues Bender Bending Rodrigues Bender Bending Rodrigues | ||
Bender Bending Rodrigues Bender Bending Rodrigues Bender Bending Rodrigues Bender Bending Rodrigues Bender Bending Rodrigues ` |
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.
this was supposed to be "Bender is Great!" string repeated :-)
could you elaborate in the description why this solves the truncation problem? Does |
Should we add, instead, a function there that doesn't truncate? |
It is a good idea, I will rename the current func to |
Signed-off-by: Pavol Loffay <ploffay@redhat.com>
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.
in most instances calling Lossy version is not actually required, let's keep it just AsString
Signed-off-by: Pavol Loffay <ploffay@redhat.com>
Resolves #1960
KV.AsString()
truncates binary tag value if it is longer than 256 and adds...
at the end. This causes failures when reading and decoding the tag value.Signed-off-by: Pavol Loffay ploffay@redhat.com