Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-3872

[RDB] Updated blob still deleted even if deletion interval lower

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0.25, 1.2.9, 1.3.13
    • 1.0.26, 1.2.10, 1.3.14, 1.4
    • blob, rdbmk
    • None

    Description

      If an existing blob is uploaded again, the timestamp of the existing entry is updated in the meta table. Subsequently if a call to delete (RDBBlobStore#countDeleteChunks) is made with maxLastModifiedTime parameter of less than the updated time above, the entry in the meta table is not touched but the data table entry is wiped out.

      Refer https://github.com/apache/jackrabbit-oak/blob/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/document/rdb/RDBBlobStore.java#L510

      Attachments

        1. OAK_3872.patch
          3 kB
          Julian Reschke

        Issue Links

          Activity

            People

              reschke Julian Reschke
              amitjain Amit Jain
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: