Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-18513 Query results caching
  3. HIVE-19127

Concurrency fixes in QueryResultsCache

Log workAgile BoardRank to TopRank to BottomBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersConvert to IssueMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0
    • None
    • None

    Description

      A few fixes around concurrent access in the results cache

      • Take a lock on the cache entry when in the process of setting the cache entry from PENDING state to VALID state, so that other threads cannot invalidate the entry
      • The write lock on the cache was not being taken when removing an entry from the cache.
      • synchronize access when iterating through the lru keyset

      Attachments

        1. HIVE-19127.2.patch
          6 kB
          Jason Dere
        2. HIVE-19127.1.patch
          6 kB
          Jason Dere

        Activity

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

          People

            jdere Jason Dere Assign to me
            jdere Jason Dere
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment