Uploaded image for project: 'Red Hat Process Automation Manager'
  1. Red Hat Process Automation Manager
  2. RHPAM-1382

File watcher doesn't work in case of missing watched file

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Critical
    • 7.0.2.GA
    • 7.0.1.GA
    • Kie-Server
    • None
    • Smart router and Standalone controller

    • CR2
      • Start the router(s)
      • Let the kie servers connect to them
      • Deploy one container
      • Restart all the routers
    • Hide

      See reproducer in PR.

      On-premise reproducer:
      Start two Smart routers which points to the empty shared folder.
      Register Kie server to the one router.
      =>
      The information isn't replicated into the second Smart router.

      Show
      See reproducer in PR. On-premise reproducer: Start two Smart routers which points to the empty shared folder. Register Kie server to the one router. => The information isn't replicated into the second Smart router.

    Description

      The issue happens when the file watcher is enabled and the file to be watched is not yet available.
      In this case an exception is thrown (see the stacktrace in attachment) and the watcher thread is interrupted.
      The watcher should be able to continue operations even when watched file is not yet available, waiting until the watched file is created and then properly react on it.

      Attachments

        Activity

          People

            elguardian@gmail.com Enrique González Martínez (Inactive)
            ksuta Karel Suta
            Karel Suta Karel Suta
            Karel Suta Karel Suta
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: