[
https://issues.apache.org/jira/browse/BOOKKEEPER-580?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13593704#comment-13593704
]
Sijie Guo commented on BOOKKEEPER-580:
--------------------------------------
[~rakeshr] I said bad version updates after encountering NotEnoughBookies, not
NotEnoughBookies during closing.
please read the logic: Lost of PendingAdds failed at same time => Lots of
LedgerHandle#handleUnrecoverableErrors (in parallel) => Lots of
LedgerHandle#closeInternal (in parallel) => Lots of metadata updates (in
parallel) => metadata version conflictions.
> improve close logic
> -------------------
>
> Key: BOOKKEEPER-580
> URL: https://issues.apache.org/jira/browse/BOOKKEEPER-580
> Project: Bookkeeper
> Issue Type: Bug
> Components: bookkeeper-client
> Reporter: Sijie Guo
> Assignee: Sijie Guo
> Fix For: 4.3.0
>
> Attachments: BOOKKEEPER-580.diff
>
>
> currently, bookkeeper client still write ledger metadata to metadata storage
> even the metadata is already closed or undergoing closing. which would cause
> lots of bad version metadata update encountering unrecoverable errors in
> ledger handle. e.g. NotEnoughtBookiesException.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira