-
Notifications
You must be signed in to change notification settings - Fork 70
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
Turned off data integrity check #633
Conversation
48e400a
to
373c711
Compare
…e filesystem for FluentBit
373c711
to
baca244
Compare
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.
One suggested change.
confgenerator/fluentbit/service.go
Outdated
@@ -36,8 +36,8 @@ func (s Service) Component() Component { | |||
// https://docs.fluentbit.io/manual/administration/buffering-and-storage#service-section-configuration | |||
// storage.path is set by Fluent Bit systemd unit (e.g. /var/lib/google-cloud-ops-agent/fluent-bit/buffers). | |||
"storage.sync": "normal", | |||
// Enable the data integrity check when writing and reading data from the filesystem. | |||
"storage.checksum": "on", | |||
// Turned off due to empty spaces being considered as corrupted. Most users do not enforce checksum. See:b/233109163 for more info |
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.
How about:
// Turned off due to empty spaces being considered as corrupted. Most users do not enforce checksum. See:b/233109163 for more info | |
// Disable data integrity check to avoid spurious corruption errors due to empty spaces. | |
// Most users do not enforce checksum. |
I don't believe there's a need to mention the bug in the code — git blame
can trace it to this PR, which already references it.
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.
Changed in: adf27bc
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.
Note: Disable
, not Disabled
(because it describes what the option does, not what this PR did)…
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 the feedback.
Changed in: d177711
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
Turned off data integrity check when writing and reading logs from the filesystem for FluentBit
http://b/233109163