forked from aws-observability/aws-otel-collector
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(newsigv4): persists the watch event beyond the first instance
Inotify works on watching specific inodes, the current implementation proved brittle if the process mutating the watched file does so by created a new file and then renaming. This action causes the file under the same path to change contents and exist with a new inode. Instead we watch the parent directory and filter incoming events by filename.
- Loading branch information
Showing
1 changed file
with
6 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters