Felix
  1. Felix
  2. FELIX-2646

[Framework] Locking could be used to prevent concurrent access to a single bundle cache

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: framework-3.0.4
    • Fix Version/s: framework-3.0.6
    • Component/s: Framework
    • Labels:
      None

      Description

      Currently, the framework completely ignores concurrent access to the same bundle cache and leaves it as a configuration issue. The downside of this approach is that a mistaken configuration could corrupt your bundle cache. We could avoid this by introducing some sort of bundle cache locking protocol using java.nio.channels.FileLock. I think it would be sufficient to simply implement a fail-fast locking protocol.

      1. FELIX-2646.txt
        7 kB
        Richard S. Hall

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Richard S. Hall
            Reporter:
            Richard S. Hall
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development