Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-1266 DocumentStore implementation for relational databases
  3. OAK-8264

RDBDocumentStore: docs obtained from cache may need revalidation before returned to caller

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Technical task
    • Status: Resolved
    • Major
    • Resolution: Won't Do
    • None
    • None
    • rdbmk
    • None

    Description

      The cache internally invalidates documents by setting the lastCheckTime to 0. When a document like that is returned from the cache, it needs to be rechecked in the persistence. This currently happens for find(), but not for getIfCached() or internal methods such as readDocumentCached(). This may cause unneeded JDBC roundtrips when a document like that indeed changed in the meantime and needs to be updated in the database.

      Attachments

        Activity

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

          People

            reschke Julian Reschke
            reschke Julian Reschke
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment