qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (QPID-5473) [linearstore] Recovery of journal in which last logical file contains truncated record causes crash
Date Sun, 12 Jan 2014 22:42:50 GMT

    [ https://issues.apache.org/jira/browse/QPID-5473?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13869173#comment-13869173
] 

ASF subversion and git services commented on QPID-5473:
-------------------------------------------------------

Commit 1557620 from [~kpvdr] in branch 'qpid/trunk'
[ https://svn.apache.org/r1557620 ]

QPID-5473: Recovery where last record in file is truncated (ie spans files), but following
file is uninitialized causes crash

> [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: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Mime
View raw message