Giter Club home page Giter Club logo

Comments (4)

aspcompiler avatar aspcompiler commented on June 30, 2024

Hi @softwareguy74 ,

Thank you very much for your suggestions. We actually do have a polling mechanism. On a busy system, the FileSystemWatcher can fire extremely rapidly. So we buffer the events and process at a timer interval. In the timer event, we do poll the file system. See:

//First to check whether filewatch events were missed
.

We did observe that FileSystemEvent not alway fire, but any disturbance (such as listing files or reading the file length) seems to trigger it to fire.

So far we did not encounter this issue in our internal production. That said, we do not have many data points on UNC paths. If you encounter any problem, please do let us know.

from kinesis-agent-windows.

softwareguy74 avatar softwareguy74 commented on June 30, 2024

The issue with the UNC paths failing is when a file server is taken off line and brought back up. The FSW will fail to continue, and needs to be restarted. So there needs to be some mechanism to check if FSW is no longer working and restart it. It's possible some people put log files on UNC paths so this could be a real problem out in the real world.

from kinesis-agent-windows.

aspcompiler avatar aspcompiler commented on June 30, 2024

Agree. Thanks for the clarification!

We had a recent commit for a slightly difference use case but may not cover your use case: c9182fc. We'll post back on this thread once we have verified or implemented the scenario of file server taken off/brought back up.

from kinesis-agent-windows.

aspcompiler avatar aspcompiler commented on June 30, 2024

Hi @softwareguy74 , we have added a feature to recreate FSW when a directory becomes unavailable in bd8ba3a. Please try version 1.0.0.128 or later from our beta download page: https://s3-us-west-2.amazonaws.com/kinesis-agent-windows/beta/index.html. Let us know if the fix addresses your concern. Thank you very much.

from kinesis-agent-windows.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.