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

CachingDataStore - Disable AsyncUploadCache

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Won't Fix
    • None
    • None
    • jackrabbit-data
    • None

    Description

      Enabling AsyncUploadCache can lead to data inconsistencies. When a node is created the CachingDataStore#addRecord call returns immediately with the blob id, while corresponding blob is uploaded asynchronously. This can cause the inconsistency as if there is an error in the upload the node is already created.
      Also, this may not be visible immediately and it will be very hard to discern the root cause.

      AsyncUploadCache is enabled by default with value set to 100 and should be disabled by default by setting to 0.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment