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

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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.25, 1.2.9, 1.3.13
    • Fix Version/s: 1.0.26, 1.2.10, 1.3.14, 1.4
    • Component/s: blob, rdbmk
    • Labels:
      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

              • Assignee:
                reschke Julian Reschke
                Reporter:
                amitjain Amit Jain
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: