fluentd icon indicating copy to clipboard operation
fluentd copied to clipboard

in_tail: Use inode for key of TailWatcher when follow_inodes

Open kattz-kawa opened this issue 1 year ago • 70 comments

Which issue(s) this PR fixes: Partially fixes #3614 (follow_inode true case)

What this PR does / why we need it: Thank you for reading to the great developer's! This PR is fixed for unexpected file close after logs rotate in fluentd v1.16.1.

I found the #3614 's reproducer. Before applying this patch, fluentd cause unexpected file close after logs rotate every hour on my reproducer. After applying this patch, fluentd does not cause it on my reproducer. I have been running testing a long time.

Docs Changes:

Release Note:

kattz-kawa avatar May 26 '23 08:05 kattz-kawa