Kim van der Riet created QPID-5473:
--------------------------------------

             Summary: [linearstore] Recovery of journal in which last logical 
file contains truncated record causes crash
                 Key: QPID-5473
                 URL: https://issues.apache.org/jira/browse/QPID-5473
             Project: Qpid
          Issue Type: Bug
          Components: C++ Broker
            Reporter: Kim van der Riet
            Assignee: Kim van der Riet


When the store recovery process encounters a journal where the last logical 
file is full and the last record in that file is also incomplete (ie this 
record would ordinarily span this journal file and the next if it were 
present), then the recovery process crashes with a segfault.

There is no specific reproducer, but using large message sizes in a test will 
increase the probability that this error will occur, and killing the broker 
suddenly (ie with signal SIGKILL) increases the probability that this error 
will occur.

This error could also be synthesized by deleting the last file(s) in a valid 
journal provided that the last record in the remaining journal files is still 
undequeued and spans to a deleted file.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to