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

Blob instances do no adhere to contract

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 0.12
    • core, mk, mongomk, segmentmk
    • None

    Description

      Blob.getNewStream mandates the returned streams to be equal. Currently this is not implemented by any of our Blob implementations.

      However, I think the contract is overly strict. We should probably adapt it to require the returned streams to be "byte wise" equals.

      Attachments

        1. OAK-1189.patch
          1 kB
          Michael Dürig

        Activity

          People

            mduerig Michael Dürig
            mduerig Michael Dürig
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: