FelixMarxIBM opened a new pull request, #233:
URL: https://github.com/apache/felix-dev/pull/233

   * Writing a file is a 2 step process where the file is created empty and 
then filled
   * There is a race-condition, where the DirectoryWatcher might pick up the 
creation of the
   * empty file. This empty file will be written back to disk on a follow-up 
CM_UPDATED event.
   * Using the global write lock will block the DirectoryWatcher to wait for 
the write to finish
   * and therefore never to read an empty file.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@felix.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to