You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 2, 2021. It is now read-only.
Then cat these contents to the file to get fluentd to buffer the entire thing:
$ sudo touch /var/log/bytetest
$ cat bytetest.txt | sudo tee -a /var/log/bytetest > /dev/null
The resulting file has extra bytes.
aadmin@atf5f7ce0c04c-linux-1:~$ diff -u bytetest.txt bytetest2.txt
--- bytetest.txt 2020-10-07 13:06:30.144485029 +0000
+++ bytetest2.txt 2020-10-07 13:16:54.164703237 +0000
@@ -2097150,6 +2097150,7 @@
a
a
a
+
a
a
a
@@ -4194301,7 +4194302,7 @@
a
a
a
-a
+aa
a
a
a
The text was updated successfully, but these errors were encountered:
avoltz
changed the title
when a buffer exceeds the append block size and is split, duplicate bytes are sent
duplicate bytes are sent to blob when a buffer exceeds the append block size
Oct 7, 2020
There seems to be an off-by-one error when a buffer is sent in two append ops to storage.
To repro this, I made a large text file:
Then configured fluentd with this:
Then cat these contents to the file to get fluentd to buffer the entire thing:
The resulting file has extra bytes.
The text was updated successfully, but these errors were encountered: