Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-5776

.camelLock is deleted by another camel instance

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.10.2
    • 2.9.5, 2.10.3, 2.11.0
    • camel-core
    • None
    • Unknown

    Description

      When camel file component tries to aquire a readLock, e.g. readLock=changed, and a camelLock already exists (aquired by another camel instance), the method MarkerFileExclusiveReadLockStrategy.acquireExclusiveReadLock fails (correct).

      Then in GenericFileConsumer.processExchange, row 291 processStrategy.abort is called. That will delete the camelLock which another camel instance owns.

      I don't know if abort should call exclusiveReadLockStrategy.releaseExclusiveReadLock() or if we have to remember if we own the lock or not.

      Attachments

        Activity

          People

            njiang Willem Jiang
            dave.larsson David Larsson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: