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

Compaction Estimation should type check binary properties

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Not A Problem
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: core, segmentmk
    • Labels:

      Description

      It looks like the compaction estimation mechanism doesn't currently verify the type of the property it tries to load as binary, it will assume that the following call property.getValue(BINARIES) will return nothing if the type is not BINARY. This behavior has changed since this code was written, the way it works now is the method will try to convert to BINARY the property's value.
      I'm assuming OAK-3007 is a side-effects of this change.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                stillalex Alex Deparvu
                Reporter:
                stillalex Alex Deparvu
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: