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

Log hex dump of too big segments

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.10.0, 1.6.14, 1.9.9, 1.8.8
    • segment-tar
    • None

    Description

      SegmentBufferWriter throws an ISE when it detects that a too big segment is about to be flushed. The ISE contains some details about the segment, like the amount of referenced segments, the amount of records, they payload length and the total length, but they are insufficient. SegmentBufferWriter should print a hex dump of the segment to the logger in order to speed up the debugging of this error condition.

      Attachments

        1. OAK-7720-01.patch
          4 kB
          Francesco Mari
        2. OAK-7720-02.patch
          10 kB
          Francesco Mari

        Issue Links

          Activity

            People

              frm Francesco Mari
              frm Francesco Mari
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: