[
https://issues.apache.org/jira/browse/BOOKKEEPER-580?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13746584#comment-13746584
]
Sijie Guo commented on BOOKKEEPER-580:
--------------------------------------
[~ikelly] it would be better to have a place to tell the client what happened
to a ledger handle. the only thing I could image is through the rc code in call
back. for sync version, we keep it not throw exception when a ledger is already
closed.
but I don't feel strong about this part. if you think we don't need to tell the
client about ledger already closed, I am OK with that.
> 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.2.2, 4.3.0
>
> Attachments: 0001-BOOKKEEPER-580-improve-close-logic.patch,
> BOOKKEEPER-580.diff, 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