Skip to content

Inotify backend does not correctly handle one file being watched twice #30

@povik

Description

@povik

If you start tailing the same file twice (by calling TailFile and supplying an identical filename), and are using the inotify backend, then only one of the Tail objects is notified when a line is appended to the file. Which one of the two objects gets notice is chosen at random, and the one which does then catches up on lines it has slept on in previous appends.

I would expect both of the objects to be notified at each append.

Metadata

Metadata

Assignees

No one assigned

    Labels

    v2Ideas for v2

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions