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

Endless loop until async upload completes

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

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.12.0
    • 2.10.3, 2.13.0, 2.12.2, 2.14
    • None
    • None

    Description

      This is LocalCache#PurgeJob() issue.

      If the entry object in cache is removed successfully by cache.remove(), cache.entrySet would be decreased then next entry will be retrieved and removed. However, if the entry object is not removed due to the failure of removing the file during async upload, the entry in cache would not be removed, then the next entry would be the same entry again by the iterator because the iterator is not changed still. Consequently, that causes endless loop until async upload of the file completes. If the file is larger, the endless loop will continue for a longer time. It's harmful.

      Attachments

        Issue Links

        Activity

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

          People

            unico@apache.org Unico Hommes
            takahito.kikuchi Takahito Kikuchi
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment