[jira] [Updated] (BOOKKEEPER-432) Improve performance of entry log range read per ledger entries

2012-11-05 Thread Yixue (Andrew) Zhu (JIRA)
[ https://issues.apache.org/jira/browse/BOOKKEEPER-432?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yixue (Andrew) Zhu updated BOOKKEEPER-432: -- Attachment: BookieLedgerStorageProposal (1).pdf Improve performance

[jira] [Commented] (BOOKKEEPER-455) Bookie recovery made assumption that entries are persisted in entry id order

2012-11-05 Thread Sijie Guo (JIRA)
[ https://issues.apache.org/jira/browse/BOOKKEEPER-455?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13490536#comment-13490536 ] Sijie Guo commented on BOOKKEEPER-455: -- {quote} Suppose bookie persist entry 1,

Re: Review Request: [BOOKKEEPER-442] Failed to deliver messages due to inconsistency between SubscriptionState and LedgerRanges.

2012-11-05 Thread Jiannan Wang
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/7775/ --- (Updated Nov. 5, 2012, 10:36 a.m.) Review request for bookkeeper. Description

[jira] [Updated] (BOOKKEEPER-442) Failed to deliver messages due to inconsistency between SubscriptionState and LedgerRanges.

2012-11-05 Thread Jiannan Wang (JIRA)
[ https://issues.apache.org/jira/browse/BOOKKEEPER-442?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jiannan Wang updated BOOKKEEPER-442: Attachment: BOOKKEEPER-442.diff Change follows Ivan's comment: logging the error

[jira] [Updated] (BOOKKEEPER-452) Rename ClientConfiguration multiplexing_enabled to subscription_connection_sharing_enabled

2012-11-05 Thread Sijie Guo (JIRA)
[ https://issues.apache.org/jira/browse/BOOKKEEPER-452?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sijie Guo updated BOOKKEEPER-452: - Attachment: BOOKKEEPER-452.diff Attach a file to addressing the rename.

Jenkins build is back to stable : bookkeeper-trunk » bookkeeper-benchmark #789

2012-11-05 Thread Apache Jenkins Server
See https://builds.apache.org/job/bookkeeper-trunk/org.apache.bookkeeper$bookkeeper-benchmark/789/

Jenkins build is back to stable : bookkeeper-trunk » bookkeeper-server #789

2012-11-05 Thread Apache Jenkins Server
See https://builds.apache.org/job/bookkeeper-trunk/org.apache.bookkeeper$bookkeeper-server/789/

Jenkins build is back to stable : bookkeeper-trunk » hedwig-server #789

2012-11-05 Thread Apache Jenkins Server
See https://builds.apache.org/job/bookkeeper-trunk/org.apache.bookkeeper$hedwig-server/789/

Jenkins build is back to stable : bookkeeper-trunk #789

2012-11-05 Thread Apache Jenkins Server
See https://builds.apache.org/job/bookkeeper-trunk/789/

[jira] [Updated] (BOOKKEEPER-432) Improve performance of entry log range read per ledger entries

2012-11-05 Thread Yixue (Andrew) Zhu (JIRA)
[ https://issues.apache.org/jira/browse/BOOKKEEPER-432?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yixue (Andrew) Zhu updated BOOKKEEPER-432: -- Attachment: (was: BookieLedgerStorageProposal (1).pdf) Improve

[jira] [Updated] (BOOKKEEPER-432) Improve performance of entry log range read per ledger entries

2012-11-05 Thread Yixue (Andrew) Zhu (JIRA)
[ https://issues.apache.org/jira/browse/BOOKKEEPER-432?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yixue (Andrew) Zhu updated BOOKKEEPER-432: -- Attachment: BookieLedgerStorageProposal.pdf Added staging to the proposal.

Re: zookeeper_interest returning ZOK on Connection Loss

2012-11-05 Thread Michi Mutsuzaki
Hi Yunong, Yes, this looks like a bug. The problem is that the C client is not handling the case when connect() returns EINPROGRESS or EWOULDBLOCK and eventually fails. I think the right fix is to check SO_ERROR after the socket becomes writable. Please go ahead and open a jira. Thanks! --Michi

Re: zookeeper_interest returning ZOK on Connection Loss

2012-11-05 Thread Yunong Xiao
Michi, I don't think just returning error after checking SO_ERROR is sufficient here, since this indicates connection loss but not session expiration. The client could still connect to a different zk server on future iterations of zookeeper_interest(), which will not occur if we return error. I

Re: zookeeper_interest returning ZOK on Connection Loss

2012-11-05 Thread Michi Mutsuzaki
Hi Yunong, Zookeeper client shouldn't return ZOO_EXPIRED_SESSION_STATE unless the server tells the client the session is expired. Otherwise the client might think the session is expired when it isn't. In case of the single-threaded client, it looks like you need to keep calling

Re: zookeeper_interest returning ZOK on Connection Loss

2012-11-05 Thread Yunong Xiao
Hi Michi, Otherwise the client might think the session is expired when it isn't. In case of the single-threaded client, it looks like you need to keep calling zookeeper_interest() until select() succeeds. What happens if the server is offline? In the scenario you described, select() will

[jira] [Updated] (ZOOKEEPER-1558) Leader should not snapshot uncommitted state

2012-11-05 Thread Flavio Junqueira (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1558?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Flavio Junqueira updated ZOOKEEPER-1558: Attachment: ZOOKEEPER-1558.patch Includes a test case.

Success: ZOOKEEPER-1558 PreCommit Build #1248

2012-11-05 Thread Apache Jenkins Server
Jira: https://issues.apache.org/jira/browse/ZOOKEEPER-1558 Build: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/1248/ ### ## LAST 60 LINES OF THE CONSOLE ###

[jira] [Commented] (ZOOKEEPER-1558) Leader should not snapshot uncommitted state

2012-11-05 Thread Hadoop QA (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1558?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13491031#comment-13491031 ] Hadoop QA commented on ZOOKEEPER-1558: -- +1 overall. Here are the results of

[jira] [Updated] (ZOOKEEPER-1547) Test robustness of client using SASL in the presence of dropped requests

2012-11-05 Thread Eugene Koontz (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1547?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Eugene Koontz updated ZOOKEEPER-1547: - Description: ZK clients send SASL packets to ZK servers as request packets. However,

Re: zookeeper_interest returning ZOK on Connection Loss

2012-11-05 Thread Michi Mutsuzaki
On Mon, Nov 5, 2012 at 2:16 PM, Yunong Xiao yjx...@gmail.com wrote: What happens if the server is offline? In the scenario you described, select() will never succeed, and zookeeper_interest() will never inform the upstream consumer that the server is down. That's the crux of the problem here,

[jira] [Commented] (BOOKKEEPER-455) Bookie recovery made assumption that entries are persisted in entry id order

2012-11-05 Thread Sijie Guo (JIRA)
[ https://issues.apache.org/jira/browse/BOOKKEEPER-455?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13491230#comment-13491230 ] Sijie Guo commented on BOOKKEEPER-455: -- {quote} According to the description, it

[jira] [Created] (BOOKKEEPER-457) Create a format command for Hedwig to cleanup its metadata.

2012-11-05 Thread Sijie Guo (JIRA)
Sijie Guo created BOOKKEEPER-457: Summary: Create a format command for Hedwig to cleanup its metadata. Key: BOOKKEEPER-457 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-457 Project: