[jira] [Updated] (BOOKKEEPER-438) Move ledger id generation out of LedgerManager

2013-01-17 Thread Jiannan Wang (JIRA)
[ https://issues.apache.org/jira/browse/BOOKKEEPER-438?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jiannan Wang updated BOOKKEEPER-438: Attachment: BOOKKEEPER-438.patch Add ledger id generation interface

[jira] [Commented] (BOOKKEEPER-438) Move ledger id generation out of LedgerManager

2013-01-17 Thread Hadoop QA (JIRA)
[ https://issues.apache.org/jira/browse/BOOKKEEPER-438?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13555979#comment-13555979 ] Hadoop QA commented on BOOKKEEPER-438: -- Testing JIRA BOOKKEEPER-438 Patch

[jira] [Commented] (BOOKKEEPER-438) Move ledger id generation out of LedgerManager

2013-01-17 Thread Jiannan Wang (JIRA)
[ https://issues.apache.org/jira/browse/BOOKKEEPER-438?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13555988#comment-13555988 ] Jiannan Wang commented on BOOKKEEPER-438: - Cancel patch, since Sijie has two

[jira] [Updated] (BOOKKEEPER-438) Move ledger id generation out of LedgerManager

2013-01-17 Thread Jiannan Wang (JIRA)
[ https://issues.apache.org/jira/browse/BOOKKEEPER-438?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jiannan Wang updated BOOKKEEPER-438: Attachment: BOOKKEEPER-438.patch Attach new patch by sijie's comment

[jira] [Commented] (BOOKKEEPER-438) Move ledger id generation out of LedgerManager

2013-01-17 Thread Hadoop QA (JIRA)
[ https://issues.apache.org/jira/browse/BOOKKEEPER-438?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13556029#comment-13556029 ] Hadoop QA commented on BOOKKEEPER-438: -- Testing JIRA BOOKKEEPER-438 Patch

[jira] [Updated] (BOOKKEEPER-438) Move ledger id generation out of LedgerManager

2013-01-17 Thread Jiannan Wang (JIRA)
[ https://issues.apache.org/jira/browse/BOOKKEEPER-438?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jiannan Wang updated BOOKKEEPER-438: Attachment: BOOKKEEPER-438.patch Minor change: rename LedgerExistException should also

[jira] [Commented] (BOOKKEEPER-438) Move ledger id generation out of LedgerManager

2013-01-17 Thread Hadoop QA (JIRA)
[ https://issues.apache.org/jira/browse/BOOKKEEPER-438?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13556078#comment-13556078 ] Hadoop QA commented on BOOKKEEPER-438: -- Testing JIRA BOOKKEEPER-438 Patch

Re: [Proposal] Support re-open, append semantic in BookKeeper.

2013-01-17 Thread Ivan Kelly
WC got a normal I/O, entering ensemble change logic. But it could not do ensemble change, since ledger state is already changed from OPEN to IN_RECOVERY. so it would fail. If it doesn't stop and fail, it is a bug for fencing, right? Please keep in mind, fencing is guarantee by bother metadata

Discussion Request on Ledger ID Generation

2013-01-17 Thread Jiannan Wang
Hello all, Currently, the ledger id generation is implemented with zookeeper (persist-/ephemeral-) sequential node to make a global unique id. In code detail, - FlatLedgerManager requires a write on zookeeper - HierarchicalLedgerManager and MSLedgerManagerFactory use same approach

Re: [VOTE] BookKeeper 4.2.0 Release Candidate 0

2013-01-17 Thread Jiannan Wang
Good job, Ivan. We all expect for this release and you did a great jobs on it. The code runs very well on my dev box, I'll merge all of changes into our branch these two days. Regards, Jiannan On 1/15/13 1:35 AM, Ivan Kelly iv...@apache.org wrote: This is the first release candidate for Apache

Re: [Proposal] Support re-open, append semantic in BookKeeper.

2013-01-17 Thread Sijie Guo
As I pointed, the style 'create a ledger and record the ledger id in some other places' is bad, especially changing ledger would cause 2 metadata writes and it is in the publish path, which caused latency spike (the latency spike depends on the two metadata writes latency). The reason why I