Uploaded image for project: 'Jackrabbit Content Repository'
  1. Jackrabbit Content Repository
  2. JCR-3943

[jackrabbi-aws-ext] Data inconsistency due to race condition during async uploads

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Incomplete
    • None
    • 2.22
    • jackrabbit-data
    • None

    Description

      There is a race condition when LocalCache is used where if an upload (file_u) has entered the cache but not the AsyncUploadCache and a simultaneous PurgeJob is running, then the uploaded file file_u can be purged from the cache.
      When the async job ultimately runs it fails silently (S3 client fails to calculate the hash because of the missing file), thus leaving dangling references in the node store as well as the AsyncUploadCache.

      Attachments

        1. coredata14Nov5Dec.txt
          9.55 MB
          Amit Jain

        Issue Links

          Activity

            People

              amitjain Amit Jain
              amitjain Amit Jain
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: