You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bookkeeper.apache.org by "Rakesh R (JIRA)" <ji...@apache.org> on 2015/03/28 18:48:52 UTC
[jira] [Commented] (BOOKKEEPER-847) ArrayIndexOutOfBoundsException
in LedgerFragmentReplicator::updateEnsembleInfo
[ https://issues.apache.org/jira/browse/BOOKKEEPER-847?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14385434#comment-14385434 ]
Rakesh R commented on BOOKKEEPER-847:
-------------------------------------
Its interesting. I couldn't find the possibility of this Exception, as I remember the re-replication will happen on the closed fragment. Now, it won't hit the case of updating the ensemble while re-replication of that particular fragment is in progress, right?. Could you please give more details like, exception trace or point me to the code flow where it can occur this.
> ArrayIndexOutOfBoundsException in LedgerFragmentReplicator::updateEnsembleInfo
> ------------------------------------------------------------------------------
>
> Key: BOOKKEEPER-847
> URL: https://issues.apache.org/jira/browse/BOOKKEEPER-847
> Project: Bookkeeper
> Issue Type: Bug
> Reporter: Jia Zhai
> Assignee: Jia Zhai
>
> ArrayIndexOutOfBoundsException in LedgerFragmentReplicator::updateEnsembleInfo, because update ensemble info might happen after re-read ledger metadata, so the ensemble might already change. if ensemble is already changed, skip replacing the bookie doesn't exist.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)