Menu

#77 sr_watch - process stop working when deleting a directory or a file

SarraBeta
closed-fixed
psilva
None
1
2017-07-29
2017-02-15
Jun Hu
No

2017-02-15 16:02:27,449 [DEBUG] event_wakeup looking at delete of /xxx
2017-02-15 16:02:27,449 [ERROR] Unable to start Observer: [Errno 2] No such file or directory: '/xxx'

Discussion

  • psilva

    psilva - 2017-02-18

    this seems to happen only when removing the root directory being observed... which you cannot really recover from. Have not reproduced any issue when deleting a sub-directory. seems to work fine.
    Please investigate further to find some more specific cause.

     
  • psilva

    psilva - 2017-03-01

    Clarification: if inflight setting is numeric, then time to apply operation depends on mtime of file, which fails when deleted files are checked.

     
  • psilva

    psilva - 2017-03-01

    fix committed to git. should come out in next daily build.

     
  • psilva

    psilva - 2017-03-18

    fix released in 2.17.03

     
  • psilva

    psilva - 2017-03-18
    • status: open --> closed
    • assigned_to: psilva
     
  • psilva

    psilva - 2017-03-18
    • status: closed --> closed-fixed
     

Log in to post a comment.

MongoDB Logo MongoDB