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

o.a.j.o.s.s.c.StandbyClientSyncExecution#isLocal should expect missing segment

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Segment Tar 0.0.14
    • Segment Tar 0.0.16
    • segment-tar
    • None
    • Patch

    Description

      Currently the method org.apache.jackrabbit.oak.segment.standby.client.StandbyClientSyncExecution#isLocal does invoke

      referencedId.getSegment();
      

      in order to read the referenced segment. In case of missing segment, the ReferenceId.getSegment does throw a SNFE and logs an ERROR level statement. The SNFE is needed but not the log statement in this case.

      Attachments

        1. OAK-4926.patch
          1 kB
          Timothee Maret
        2. OAK-4926.patch
          0.9 kB
          Timothee Maret

        Activity

          People

            frm Francesco Mari
            marett Timothee Maret
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: