Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.3
    • Component/s: Code
    • Labels:
      None
    • Number of attachments :
      0

      Description

      > I was just thinking that a Prevayler-generated terminating
      > signature would be enough to ensure that
      > everything we think we serialized already made it to disk.
      > To get specific, just have Prevayler serialize an incrementing
      > integer after each command.
      >
      > Dave Roberts

        Issue Links

          Activity

          Hide
          Justin Sampson added a comment -

          The chunked encoding implemented for PRV-22 accomplishes this, though slightly differently than suggested here. Each transaction is preceded by its size in bytes and followed by a CRLF pair, so if either not enough bytes remain in the file, or the bytes are not followed by CRLF, we know the transaction was not written fully.

          Show
          Justin Sampson added a comment - The chunked encoding implemented for PRV-22 accomplishes this, though slightly differently than suggested here. Each transaction is preceded by its size in bytes and followed by a CRLF pair, so if either not enough bytes remain in the file, or the bytes are not followed by CRLF, we know the transaction was not written fully.
          Hide
          Jacob Kjome added a comment -

          Based on Justin's comment, linking this to PRV-22 and will resolve this issue since that one is resolved now.

          Show
          Jacob Kjome added a comment - Based on Justin's comment, linking this to PRV-22 and will resolve this issue since that one is resolved now.

            People

            • Assignee:
              Unassigned
              Reporter:
              Klaus Wuestefeld
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: