Re: ZooKeeper 3.4 to 3.5.x upgrade: "No snapshot found, but there are log entries. Something is broken!"

2018-06-05 Thread Sijie Guo
Do you think it is worth reverting that change first? Or maybe put the validation in a if-else branch and controlled by a configuration setting. So people who is using 3.4.6 can turn the flag off for upgrading and turn the flag on after upgrade. On 2018/06/05 14:32:42, Michael Han wrote: > A

[jira] [Commented] (ZOOKEEPER-3056) Fails to load database with missing snapshot file but valid transaction log file

2018-06-05 Thread Sijie Guo (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-3056?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16502527#comment-16502527 ] Sijie Guo commented on ZOOKEEPER-3056: -- [~hanm] [~nixon] [~breed]     Do

Re: ZooKeeper 3.4 to 3.5.x upgrade: "No snapshot found, but there are log entries. Something is broken!"

2018-06-05 Thread Sijie Guo
ugh 3.4.6 first before upgrading to 3.5.x, > if you are doing a rolling upgrade and want to keep the liveness of the > quorum. See more > https://zookeeper.apache.org/doc/r3.5.3-beta/zookeeperReconfig.html#ch_reconfig_upgrade > . > > > On Mon, Jun 4, 2018 at 5:40 PM, Sijie Guo wrote

ZooKeeper 3.4 to 3.5.x upgrade: "No snapshot found, but there are log entries. Something is broken!"

2018-06-04 Thread Sijie Guo
Hi zookeeper team, We hit an issue when upgrading from 3.4.x to 3.5.4-beta. Need some helps/advices from the community. ``` *10:14:55.607 [main] INFO org.apache.zookeeper.server.NIOServerCnxnFactory - binding to port 0.0.0.0/0.0.0.0:2181 * *10:14:55.623 [main] ERROR

[jira] [Commented] (ZOOKEEPER-2237) Port async multi to 3.4 branch

2015-07-30 Thread Sijie Guo (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2237?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14647754#comment-14647754 ] Sijie Guo commented on ZOOKEEPER-2237: -- the patch looks good to me. &g

Re: Apache BookKeeper TLP!

2014-11-30 Thread Sijie Guo
Awesome! On Sun, Nov 23, 2014 at 2:26 AM, Flavio Junqueira < fpjunque...@yahoo.com.invalid> wrote: > I just wanted to share that the board approved our proposal to make Apache > BookKeeper a top-level project. I'm thrilled with the news and I want to > thank everyone for the support, especially t

Re: [VOTE] Taking Bookkeeper Subproject to a Top Level Project

2014-10-18 Thread Sijie Guo
+1 On Fri, Oct 17, 2014 at 6:26 AM, Ivan Kelly wrote: > Hi folks, > > I'd like to run a community vote on converting the Bookkeeper > subproject of Apache Zookeeper into an Apache top level project. > > To refresh you on the status of the subproject currently. > - We've made 7 releases since bec

[jira] [Updated] (BOOKKEEPER-752) Deadlock on NIOServer shutdown

2014-05-07 Thread Sijie Guo (JIRA)
[ https://issues.apache.org/jira/browse/BOOKKEEPER-752?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sijie Guo updated BOOKKEEPER-752: - Attachment: BOOKKEEPER-752.diff fix to ensure locking order to avoid deadlock. it is hard to

[jira] [Commented] (BOOKKEEPER-716) padding writes for bookie journal

2014-03-12 Thread Sijie Guo (JIRA)
[ https://issues.apache.org/jira/browse/BOOKKEEPER-716?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13932063#comment-13932063 ] Sijie Guo commented on BOOKKEEPER-716: -- {quote} That said, I think this ch

[jira] [Commented] (BOOKKEEPER-708) Shade protobuf library to avoid incompatible versions

2014-02-06 Thread Sijie Guo (JIRA)
[ https://issues.apache.org/jira/browse/BOOKKEEPER-708?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13893557#comment-13893557 ] Sijie Guo commented on BOOKKEEPER-708: -- I would like we resolve BOOKKEEPER

[jira] [Commented] (BOOKKEEPER-724) Shade introduces RAT error

2014-02-05 Thread Sijie Guo (JIRA)
[ https://issues.apache.org/jira/browse/BOOKKEEPER-724?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13891959#comment-13891959 ] Sijie Guo commented on BOOKKEEPER-724: -- I am just wondering how other ap

[jira] [Commented] (BOOKKEEPER-656) Bookie Performance Improvement

2014-01-16 Thread Sijie Guo (JIRA)
[ https://issues.apache.org/jira/browse/BOOKKEEPER-656?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13873567#comment-13873567 ] Sijie Guo commented on BOOKKEEPER-656: -- [~fpj] all the changes are ready. 4

[jira] [Commented] (BOOKKEEPER-661) Turn readonly back to writable if spaces are reclaimed.

2014-01-15 Thread Sijie Guo (JIRA)
[ https://issues.apache.org/jira/browse/BOOKKEEPER-661?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13872498#comment-13872498 ] Sijie Guo commented on BOOKKEEPER-661: -- {quote} It would be better to mo

[jira] [Commented] (BOOKKEEPER-710) OpenLedgerNoRecovery should watch ensemble change.

2014-01-15 Thread Sijie Guo (JIRA)
[ https://issues.apache.org/jira/browse/BOOKKEEPER-710?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13872374#comment-13872374 ] Sijie Guo commented on BOOKKEEPER-710: -- [~ikelly] this jira is to fix

[jira] [Created] (BOOKKEEPER-710) OpenLedgerNoRecovery should watch ensemble change.

2013-11-22 Thread Sijie Guo (JIRA)
Sijie Guo created BOOKKEEPER-710: Summary: OpenLedgerNoRecovery should watch ensemble change. Key: BOOKKEEPER-710 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-710 Project: Bookkeeper

[jira] [Commented] (BOOKKEEPER-709) SlowBookieTest#testSlowBookie fails intermittently

2013-11-22 Thread Sijie Guo (JIRA)
[ https://issues.apache.org/jira/browse/BOOKKEEPER-709?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13830587#comment-13830587 ] Sijie Guo commented on BOOKKEEPER-709: -- {code} Thread.sleep(3000); // sle

[jira] [Commented] (BOOKKEEPER-709) SlowBookieTest#testSlowBookie fails intermittently

2013-11-22 Thread Sijie Guo (JIRA)
[ https://issues.apache.org/jira/browse/BOOKKEEPER-709?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13830582#comment-13830582 ] Sijie Guo commented on BOOKKEEPER-709: -- [~rakeshr] I don't think it i

4.3.0 Release

2013-11-10 Thread Sijie Guo
We are going to cut 4.3.0 release. Here are the items that are planned in this release. - bookie performance improvement: BOOKKEEPER-656, BOOKKEEPER-432 - stats collection: BOOKKEEPER-398 - ssl & protobuf on wire part Other items will be moved

[jira] [Commented] (BOOKKEEPER-628) Improve bookie registration interface

2013-10-30 Thread Sijie Guo (JIRA)
[ https://issues.apache.org/jira/browse/BOOKKEEPER-628?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13809407#comment-13809407 ] Sijie Guo commented on BOOKKEEPER-628: -- I don't think it is a goo

[jira] [Commented] (BOOKKEEPER-700) GarbageCollectorThread exsiting with ArrayIndexOutOfBoundsException

2013-10-30 Thread Sijie Guo (JIRA)
[ https://issues.apache.org/jira/browse/BOOKKEEPER-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13809399#comment-13809399 ] Sijie Guo commented on BOOKKEEPER-700: -- {quote} IMHO, one way to address

[jira] [Commented] (BOOKKEEPER-698) Bookie client closure is not considering timeoutExecutor

2013-10-29 Thread Sijie Guo (JIRA)
[ https://issues.apache.org/jira/browse/BOOKKEEPER-698?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13808214#comment-13808214 ] Sijie Guo commented on BOOKKEEPER-698: -- hmm. sounds like I missed this

[jira] [Commented] (BOOKKEEPER-696) stats collection on bookkeeper client

2013-10-29 Thread Sijie Guo (JIRA)
[ https://issues.apache.org/jira/browse/BOOKKEEPER-696?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13808197#comment-13808197 ] Sijie Guo commented on BOOKKEEPER-696: -- > When we spoke in August, An

[jira] [Commented] (BOOKKEEPER-658) ledger cache refactor

2013-10-10 Thread Sijie Guo (JIRA)
[ https://issues.apache.org/jira/browse/BOOKKEEPER-658?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13791754#comment-13791754 ] Sijie Guo commented on BOOKKEEPER-658: -- > the in memory manager has a ha

[jira] [Commented] (BOOKKEEPER-519) Ensure all threads in BookKeeper/Hedwig have meaningful names

2013-10-03 Thread Sijie Guo (JIRA)
[ https://issues.apache.org/jira/browse/BOOKKEEPER-519?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13785391#comment-13785391 ] Sijie Guo commented on BOOKKEEPER-519: -- I think this jira is tend to ensure

[jira] [Commented] (BOOKKEEPER-640) Log improvement - add shutdown/exit log message for the bookie services

2013-10-01 Thread Sijie Guo (JIRA)
[ https://issues.apache.org/jira/browse/BOOKKEEPER-640?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13783634#comment-13783634 ] Sijie Guo commented on BOOKKEEPER-640: -- +1 for the new patch. committing &

[jira] [Commented] (BOOKKEEPER-664) Compaction increases latency on journal writes

2013-09-08 Thread Sijie Guo (JIRA)
[ https://issues.apache.org/jira/browse/BOOKKEEPER-664?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13761593#comment-13761593 ] Sijie Guo commented on BOOKKEEPER-664: -- +1 for the patch for branch

[jira] [Updated] (BOOKKEEPER-668) Race between PerChannelBookieClient#channelDisconnected() and disconnect() calls can make clients hang while add/reading entries in case of multiple bookie failures

2013-08-06 Thread Sijie Guo (JIRA)
[ https://issues.apache.org/jira/browse/BOOKKEEPER-668?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sijie Guo updated BOOKKEEPER-668: - Attachment: BOOKKEEPER-668.diff > Race between PerChannelBookieCli

[jira] [Updated] (BOOKKEEPER-668) Race between PerChannelBookieClient#channelDisconnected() and disconnect() calls can make clients hang while add/reading entries in case of multiple bookie failures

2013-08-06 Thread Sijie Guo (JIRA)
[ https://issues.apache.org/jira/browse/BOOKKEEPER-668?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sijie Guo updated BOOKKEEPER-668: - Fix Version/s: 4.3.0 4.2.2 > Race between PerChannelBookieCli

[jira] [Updated] (BOOKKEEPER-667) Client write will fail with BadMetadataVersion in case of multiple Bookie failures with AutoRecovery enabled

2013-08-06 Thread Sijie Guo (JIRA)
[ https://issues.apache.org/jira/browse/BOOKKEEPER-667?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sijie Guo updated BOOKKEEPER-667: - Attachment: BOOKKEEPER-667.diff > Client write will fail with BadMetadataVersion in c

[jira] [Issue Comment Deleted] (BOOKKEEPER-667) Client write will fail with BadMetadataVersion in case of multiple Bookie failures with AutoRecovery enabled

2013-08-06 Thread Sijie Guo (JIRA)
[ https://issues.apache.org/jira/browse/BOOKKEEPER-667?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sijie Guo updated BOOKKEEPER-667: - Comment: was deleted (was: this issue would be easy to remove the conditional check when

[jira] [Updated] (BOOKKEEPER-667) Client write will fail with BadMetadataVersion in case of multiple Bookie failures with AutoRecovery enabled

2013-08-06 Thread Sijie Guo (JIRA)
[ https://issues.apache.org/jira/browse/BOOKKEEPER-667?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sijie Guo updated BOOKKEEPER-667: - Attachment: (was: BOOKKEEPER-667.diff) > Client write will fail w

Re: [ANNOUNCE] New BookKeeper committer: Jiannan Wang

2013-02-19 Thread Sijie Guo
Congratulation! Welcome Jiannan ~ On Tue, Feb 19, 2013 at 12:14 PM, Flavio Junqueira wrote: > The Apache ZooKeeper PMC recently extended committer karma to Jiannan and > he has accepted. Congratulations and welcome aboard, Jiannan! > > -Flavio

Re: [ANNOUNCE] New BookKeeper committer: Uma Maheswara Rao G

2013-02-04 Thread Sijie Guo
Congratulations and welcome aboard, Uma!! -Sijie On Mon, Feb 4, 2013 at 1:24 AM, Flavio Junqueira wrote: > > The Apache ZooKeeper PMC recently extended committer karma to Uma and he > has accepted. Congratulations and welcome aboard, Uma! > > -Flavio > > >

Re: [Discussion] Read/Write semantic for BookKeeper and session fencing

2013-01-23 Thread Sijie Guo
t; Does it mean that we add another field to entries to say what the session > id is? > Yes. I tried to think of not adding session id to entries. but it is hard to make it work according to the two rules I mentioned. > > -Flavio > > On Jan 23, 2013, at 6:36 AM, Sijie Guo wro

Re: [VOTE] BookKeeper 4.2.0 Release Candidate 0

2013-01-18 Thread Sijie Guo
Cool! Thanks Ivan and community. -Sijie On Fri, Jan 18, 2013 at 12:59 AM, Ivan Kelly wrote: > As we have 6 +1s, including the necessary 3 PMC +1s, this vote has > passed. As such, I will push this candidate as the release today and > announce tomorrow once the mirrors have been updated. > > -I

[jira] [Updated] (BOOKKEEPER-514) TestDeadLock hanging sometimes

2012-12-27 Thread Sijie Guo (JIRA)
[ https://issues.apache.org/jira/browse/BOOKKEEPER-514?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sijie Guo updated BOOKKEEPER-514: - Attachment: BOOKKEEPER-514.patch seems that bookkeeper-server's dependencies are hid

[jira] [Commented] (BOOKKEEPER-514) TestDeadLock hanging sometimes

2012-12-27 Thread Sijie Guo (JIRA)
[ https://issues.apache.org/jira/browse/BOOKKEEPER-514?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13540310#comment-13540310 ] Sijie Guo commented on BOOKKEEPER-514: -- seems that bookkeeper-benchmark doe

[jira] [Commented] (BOOKKEEPER-447) Bookie can fail to recover if index pages flushed before ledger flush acknowledged

2012-12-13 Thread Sijie Guo (JIRA)
[ https://issues.apache.org/jira/browse/BOOKKEEPER-447?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13531304#comment-13531304 ] Sijie Guo commented on BOOKKEEPER-447: -- CacheCallback is required for a

[jira] [Commented] (BOOKKEEPER-495) Revise BK config doc

2012-12-07 Thread Sijie Guo (JIRA)
[ https://issues.apache.org/jira/browse/BOOKKEEPER-495?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13526594#comment-13526594 ] Sijie Guo commented on BOOKKEEPER-495: -- thanks Flavio. one question,

[jira] [Updated] (ZOOKEEPER-1572) Add an async interface for multi request

2012-11-06 Thread Sijie Guo (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1572?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sijie Guo updated ZOOKEEPER-1572: - Attachment: ZOOKEEPER-1572.diff upload a new patch to address javadoc warning

[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

[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-tabpanel&focusedCommentId=13490536#comment-13490536 ] Sijie Guo commented on BOOKKEEPER-455: -- {quote} Suppose bookie persist ent

[jira] [Updated] (ZOOKEEPER-1572) Add an async interface for multi request

2012-11-01 Thread Sijie Guo (JIRA)
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1572?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sijie Guo updated ZOOKEEPER-1572: - Attachment: ZOOKEEPER-1572.diff Attach a patch to add an async interface for multi request

[jira] [Created] (ZOOKEEPER-1572) Add an async interface for multi request

2012-11-01 Thread Sijie Guo (JIRA)
Sijie Guo created ZOOKEEPER-1572: Summary: Add an async interface for multi request Key: ZOOKEEPER-1572 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1572 Project: ZooKeeper Issue

Re: Question of multi interface

2012-10-30 Thread Sijie Guo
n. > The server side definitely supports it as well. > > I don't use the Java API so I've not noticed this limitation before. > > It should be pretty trivial to add this functionality. Suggest you open a > new Jira on this. > > On Tue, Oct 30, 2012 at 9:00 AM, Si

[jira] [Commented] (BOOKKEEPER-422) Simplify AbstractSubscriptionManager

2012-10-10 Thread Sijie Guo (JIRA)
[ https://issues.apache.org/jira/browse/BOOKKEEPER-422?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13473039#comment-13473039 ] Sijie Guo commented on BOOKKEEPER-422: -- I am not sure this change does be

Re: Welcome Ivan Kelly to the ZooKeeper PMC!

2012-08-14 Thread Sijie Guo
Cool! Congratulation Ivan. -Sijie On Tue, Aug 14, 2012 at 3:53 PM, Flavio Junqueira wrote: > Folks, > > I'm happy to inform that the PMC has voted and Ivan has happily > accepted to become a ZooKeeper PMC member. Welcome aboard, Ivan! > > -Flavio >

[jira] [Commented] (BOOKKEEPER-330) System.currentTimeMillis usage in Hedwig

2012-07-26 Thread Sijie Guo (JIRA)
[ https://issues.apache.org/jira/browse/BOOKKEEPER-330?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13422875#comment-13422875 ] Sijie Guo commented on BOOKKEEPER-330: -- committed as r1365875 in 4.1 br

[jira] [Created] (BOOKKEEPER-352) Should not use static ServerStats/BKStats instance in TestServerStats/TestBKStats

2012-07-26 Thread Sijie Guo (JIRA)
Sijie Guo created BOOKKEEPER-352: Summary: Should not use static ServerStats/BKStats instance in TestServerStats/TestBKStats Key: BOOKKEEPER-352 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-352

[jira] [Updated] (BOOKKEEPER-352) Should not use static ServerStats/BKStats instance in TestServerStats/TestBKStats

2012-07-26 Thread Sijie Guo (JIRA)
[ https://issues.apache.org/jira/browse/BOOKKEEPER-352?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sijie Guo updated BOOKKEEPER-352: - Attachment: BOOKKEEPER-352.diff attach a patch to fix it. the fix is quite simple, just new

[jira] [Commented] (BOOKKEEPER-329) provide stop scripts for hub server

2012-07-10 Thread Sijie Guo (JIRA)
[ https://issues.apache.org/jira/browse/BOOKKEEPER-329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13411263#comment-13411263 ] Sijie Guo commented on BOOKKEEPER-329: -- @Uma, I am ok to reopen BK-296 i

[jira] [Updated] (BOOKKEEPER-250) Need a ledger manager like interface to manage metadata operations in Hedwig

2012-07-10 Thread Sijie Guo (JIRA)
[ https://issues.apache.org/jira/browse/BOOKKEEPER-250?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sijie Guo updated BOOKKEEPER-250: - Attachment: BOOKKEEPER-250.diff_v6 attach a new patch to address Ivan's reviews. r

[jira] [Commented] (BOOKKEEPER-78) filterable metadata fields in Hedwig's message definition

2012-07-09 Thread Sijie Guo (JIRA)
[ https://issues.apache.org/jira/browse/BOOKKEEPER-78?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13409585#comment-13409585 ] Sijie Guo commented on BOOKKEEPER-78: - yup. it might be different to change

[VOTE] BookKeeper 4.1.0 Release Candidate 0

2012-05-31 Thread Sijie Guo
This is the first release for Apache BookKeeper, version 4.1.0. It fixes the following issues: https://issues.apache.org/jira/secure/ReleaseNote.jspa?version=12319145&styleName=Html&projectId=12311293 *** Please download, test and vote by June 5th 2012, 10:00 GMT. Note that we are voting upon th

[jira] [Commented] (BOOKKEEPER-209) Typo in ServerConfiguration for READAHEAD_ENABLED

2012-05-14 Thread Sijie Guo (JIRA)
[ https://issues.apache.org/jira/browse/BOOKKEEPER-209?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13274691#comment-13274691 ] Sijie Guo commented on BOOKKEEPER-209: -- lgtm +1 thanks

[jira] [Reopened] (BOOKKEEPER-168) Message bounding on subscriptions

2012-04-19 Thread Sijie Guo (Reopened) (JIRA)
[ https://issues.apache.org/jira/browse/BOOKKEEPER-168?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sijie Guo reopened BOOKKEEPER-168: -- @Ivan, I just found that you missed committing the newly added test case. hedwig-server/src

[jira] [Updated] (BOOKKEEPER-218) Provide journal manager to manage journal related operations

2012-04-16 Thread Sijie Guo (Updated) (JIRA)
[ https://issues.apache.org/jira/browse/BOOKKEEPER-218?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sijie Guo updated BOOKKEEPER-218: - Attachment: BK-218.diff_v2 > Provide journal manager to manage journal rela

Re: Review Request: BOOKKEEPER-218: Provide journal manager to manage journal related operations

2012-04-16 Thread Sijie Guo
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/4737/ --- (Updated 2012-04-17 05:50:11.011776) Review request for bookkeeper. Changes --

Re: Review Request: BOOKKEEPER-218: Provide journal manager to manage journal related operations

2012-04-16 Thread Sijie Guo
eview6935 --- On 2012-04-16 13:57:54, Sijie Guo wrote: > > --- > This is an automatically generated e-mail. To reply, visit: > https://revi

Review Request: BOOKKEEPER-191: Hub server should change ledger to write, so consumed messages have chance to be garbage collected.

2012-04-15 Thread Sijie Guo
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/4731/ --- Review request for bookkeeper. Summary --- currently, hub server write entr

[jira] [Updated] (BOOKKEEPER-191) Hub server should change ledger to write, so consumed messages have chance to be garbage collected.

2012-04-15 Thread Sijie Guo (Updated) (JIRA)
[ https://issues.apache.org/jira/browse/BOOKKEEPER-191?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sijie Guo updated BOOKKEEPER-191: - Attachment: BK-191.diff attach a patch to change ledger by providing size

[jira] [Updated] (BOOKKEEPER-217) NPE in hedwig client when enable DEBUG

2012-04-15 Thread Sijie Guo (Updated) (JIRA)
[ https://issues.apache.org/jira/browse/BOOKKEEPER-217?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sijie Guo updated BOOKKEEPER-217: - Attachment: BK-217.diff attach a patch fix NPE in debug message. > NPE

[jira] [Commented] (BOOKKEEPER-112) Bookie Recovery on an open ledger will cause LedgerHandle#close on that ledger to fail

2012-03-21 Thread Sijie Guo (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/BOOKKEEPER-112?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13234418#comment-13234418 ] Sijie Guo commented on BOOKKEEPER-112: -- yeah, fencing by fragment id is a

[jira] [Commented] (BOOKKEEPER-126) EntryLogger doesn't detect when one of it's logfiles is corrupt

2012-03-20 Thread Sijie Guo (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/BOOKKEEPER-126?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13233425#comment-13233425 ] Sijie Guo commented on BOOKKEEPER-126: -- yup. scanner is a possible way to ha

[jira] [Commented] (BOOKKEEPER-126) EntryLogger doesn't detect when one of it's logfiles is corrupt

2012-03-17 Thread Sijie Guo (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/BOOKKEEPER-126?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13232011#comment-13232011 ] Sijie Guo commented on BOOKKEEPER-126: -- > Can we narrow down to case

[jira] [Updated] (BOOKKEEPER-112) Bookie Recovery on an open ledger will cause LedgerHandle#close on that ledger to fail

2012-03-02 Thread Sijie Guo (Updated) (JIRA)
[ https://issues.apache.org/jira/browse/BOOKKEEPER-112?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sijie Guo updated BOOKKEEPER-112: - Attachment: BOOKKEEPER-112.patch_v5 > Bookie Recovery on an open ledger will ca

Re: Review Request: BOOKKEEPER-112: Bookie Recovery on an open ledger will cause LedgerHandle#close on that ledger to fail

2012-03-02 Thread Sijie Guo
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/3472/ --- (Updated 2012-03-02 11:27:34.221927) Review request for bookkeeper. Changes --

Re: Review Request: BOOKKEEPER-172 Upgrade framework for filesystem layouts

2012-02-21 Thread Sijie Guo
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/3910/#review5238 --- bookkeeper-server/src/main/java/org/apache/bookkeeper/bookie/FileSyst

[jira] [Commented] (BOOKKEEPER-160) bookie server needs to do compaction over entry log files to reclaim disk space

2012-02-17 Thread Sijie Guo (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/BOOKKEEPER-160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13210182#comment-13210182 ] Sijie Guo commented on BOOKKEEPER-160: -- actually, I am thinking why we nee

[jira] [Created] (BOOKKEEPER-169) bookie hangs on reading header when encountering partial header index file

2012-02-14 Thread Sijie Guo (Created) (JIRA)
Issue Type: Bug Components: bookkeeper-server Affects Versions: 4.0.0 Reporter: Sijie Guo Assignee: Sijie Guo Fix For: 4.1.0 bookie server hangs on reading header part when reading partial header index file (whose header part is less than

[jira] [Commented] (BOOKKEEPER-162) LedgerHandle.readLastConfirmed does not work

2012-02-08 Thread Sijie Guo (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/BOOKKEEPER-162?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13203408#comment-13203408 ] Sijie Guo commented on BOOKKEEPER-162: -- seems the document is not so clear

[jira] [Updated] (BOOKKEEPER-167) PerChannelBookieClient doesn't use ClientConfiguration

2012-02-08 Thread Sijie Guo (Updated) (JIRA)
[ https://issues.apache.org/jira/browse/BOOKKEEPER-167?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sijie Guo updated BOOKKEEPER-167: - Attachment: BK-167.patch > PerChannelBookieClient doesn't use ClientConfi

[jira] [Created] (BOOKKEEPER-167) PerChannelBookieClient doesn't use ClientConfiguration

2012-02-08 Thread Sijie Guo (Created) (JIRA)
: Bug Components: bookkeeper-client Affects Versions: 4.0.0 Reporter: Sijie Guo Assignee: Sijie Guo Fix For: 4.1.0 currently, we don't use ClientConfiguration to initialize PerChannelBookieClient. so the readtimeout settings are not applied to PerChannelBo

[jira] [Commented] (BOOKKEEPER-162) LedgerHandle.readLastConfirmed does not work

2012-02-08 Thread Sijie Guo (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/BOOKKEEPER-162?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13203383#comment-13203383 ] Sijie Guo commented on BOOKKEEPER-162: -- hmm, I think it would be better to

[jira] [Commented] (BOOKKEEPER-162) LedgerHandle.readLastConfirmed does not work

2012-02-08 Thread Sijie Guo (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/BOOKKEEPER-162?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13203355#comment-13203355 ] Sijie Guo commented on BOOKKEEPER-162: -- BTW, if a ledger is cl

[jira] [Commented] (BOOKKEEPER-162) LedgerHandle.readLastConfirmed does not work

2012-02-08 Thread Sijie Guo (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/BOOKKEEPER-162?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13203349#comment-13203349 ] Sijie Guo commented on BOOKKEEPER-162: -- hmm. currently readLastConfirmed doe

[jira] [Commented] (BOOKKEEPER-152) Can't recover a ledger whose current ensemble contain failed bookie.

2012-02-07 Thread Sijie Guo (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/BOOKKEEPER-152?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13202260#comment-13202260 ] Sijie Guo commented on BOOKKEEPER-152: -- BOOKKEEPER-163 and BOOKKEEPER-164

[jira] [Created] (BOOKKEEPER-164) Add checksumming for ledger index files

2012-02-07 Thread Sijie Guo (Created) (JIRA)
-server Affects Versions: 4.0.0 Reporter: Sijie Guo now bookie ledger index files lacks checksumming to prevent truncation/corruption. if a ledger index file is truncated, the ledger index file still works but responds wrong response when reading last confirmed. -- This message is

[jira] [Created] (BOOKKEEPER-163) Prevent incorrect NoSuchLedgerException for readLastConfirmed.

2012-02-07 Thread Sijie Guo (Created) (JIRA)
Components: bookkeeper-client, bookkeeper-server Affects Versions: 4.0.0 Reporter: Sijie Guo bookkeeper client treats NoSuchLedgerException as valid response when reading last confirmed. If NoSuchLedgerException is caused due to an empty directory in following cases, it

[jira] [Commented] (BOOKKEEPER-161) PerChannelBookieClient tries to reuse HashedWheelTimer, throws Exception

2012-02-06 Thread Sijie Guo (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/BOOKKEEPER-161?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13202042#comment-13202042 ] Sijie Guo commented on BOOKKEEPER-161: -- it looks good to me

[jira] [Commented] (BOOKKEEPER-137) Do not create Ledger index files until absolutely necessary.

2012-02-06 Thread Sijie Guo (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/BOOKKEEPER-137?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13201195#comment-13201195 ] Sijie Guo commented on BOOKKEEPER-137: -- {quote} Im not clear on this p

[jira] [Updated] (BOOKKEEPER-150) Entry is lost when recovering a ledger with not enough bookies.

2012-01-03 Thread Sijie Guo (Updated) (JIRA)
[ https://issues.apache.org/jira/browse/BOOKKEEPER-150?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sijie Guo updated BOOKKEEPER-150: - Attachment: BOOKKEEPER-150.patch Attach a patch. including a test case to reproduce this

[jira] [Created] (BOOKKEEPER-150) Entry is lost when recovering a ledger with not enough bookies.

2012-01-03 Thread Sijie Guo (Created) (JIRA)
: Bug Components: bookkeeper-client Affects Versions: 4.0.0 Reporter: Sijie Guo Assignee: Sijie Guo Fix For: 4.1.0 suppose a ledger is created as ensemble size 3 and quorum size 3. 3 entries is added in this ledger, entry ids are 0, 1, 2. this ledger

[jira] [Created] (BOOKKEEPER-144) NPE in MessageConsumeCallback

2011-12-14 Thread Sijie Guo (Created) (JIRA)
Reporter: Sijie Guo Currently we reuse timer to execute retry tasks. And the timer will only be stopped when client stopped. So in MessageConsumeRetryTask, the topicSubscriberChannel would be null due to closeSubscription or channel disconnected. Then a NPE is thrown when

[jira] [Updated] (BOOKKEEPER-79) randomly startDelivery/stopDelivery will core dump in c++ hedwig client

2011-11-18 Thread Sijie Guo (Updated) (JIRA)
[ https://issues.apache.org/jira/browse/BOOKKEEPER-79?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sijie Guo updated BOOKKEEPER-79: Attachment: BOOKKEEPER-79.patch_v4 new patch, rename last_response to outstanding_response

[jira] [Commented] (BOOKKEEPER-79) randomly startDelivery/stopDelivery will core dump in c++ hedwig client

2011-11-18 Thread Sijie Guo (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/BOOKKEEPER-79?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13152982#comment-13152982 ] Sijie Guo commented on BOOKKEEPER-79: - I have tried running 'make check

[jira] [Commented] (BOOKKEEPER-79) randomly startDelivery/stopDelivery will core dump in c++ hedwig client

2011-11-18 Thread Sijie Guo (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/BOOKKEEPER-79?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13152763#comment-13152763 ] Sijie Guo commented on BOOKKEEPER-79: - Ivan, thanks for your comments. It is g

[jira] [Updated] (BOOKKEEPER-79) randomly startDelivery/stopDelivery will core dump in c++ hedwig client

2011-11-18 Thread Sijie Guo (Updated) (JIRA)
[ https://issues.apache.org/jira/browse/BOOKKEEPER-79?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sijie Guo updated BOOKKEEPER-79: Attachment: BOOKKEEPER-79.patch_v3 > randomly startDelivery/stopDelivery will core dump

[jira] [Updated] (BOOKKEEPER-79) randomly startDelivery/stopDelivery will core dump in c++ hedwig client

2011-11-14 Thread Sijie Guo (Updated) (JIRA)
[ https://issues.apache.org/jira/browse/BOOKKEEPER-79?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sijie Guo updated BOOKKEEPER-79: Attachment: BOOKKEEPER-79.patch_v2 attach new patch with test case. > rando

[jira] [Updated] (BOOKKEEPER-109) Add documentation to describe how bookies flushes data

2011-11-13 Thread Sijie Guo (Updated) (JIRA)
[ https://issues.apache.org/jira/browse/BOOKKEEPER-109?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sijie Guo updated BOOKKEEPER-109: - Attachment: bookkeeper-109.patch > Add documentation to describe how bookies flus

[jira] [Updated] (BOOKKEEPER-108) add configuration support for BK

2011-11-11 Thread Sijie Guo (Updated) (JIRA)
[ https://issues.apache.org/jira/browse/BOOKKEEPER-108?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sijie Guo updated BOOKKEEPER-108: - Attachment: BOOKKEEPER-108.patch_v2 > add configuration support for

Re: Review Request: BOOKKEEPER-108: add configuration support for BK

2011-11-11 Thread Sijie Guo
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/2771/ --- (Updated 2011-11-11 17:29:32.204949) Review request for bookkeeper. Changes --

[jira] [Commented] (BOOKKEEPER-105) A Bookkeeper can only open one LedgerHandle to a specific ledger at a time, if it expects them to work

2011-11-04 Thread Sijie Guo (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/BOOKKEEPER-105?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13144185#comment-13144185 ] Sijie Guo commented on BOOKKEEPER-105: -- I just found BOOKKEEPER-49 du

[jira] [Updated] (BOOKKEEPER-107) memory leak in HostAddress of hedwig c++ client

2011-11-04 Thread Sijie Guo (Updated) (JIRA)
[ https://issues.apache.org/jira/browse/BOOKKEEPER-107?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sijie Guo updated BOOKKEEPER-107: - Attachment: BOOKKEEPER-107.patch attach a patch: 1) use freeaddrinfo instead of free 2

[jira] [Created] (BOOKKEEPER-107) memory leak in HostAddress of hedwig c++ client

2011-11-04 Thread Sijie Guo (Created) (JIRA)
-client Affects Versions: 3.4.0 Reporter: Sijie Guo Fix For: 4.0.0 should use freeaddrinfo to free struct addrinfo, instead of using free directly. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA

[jira] [Commented] (BOOKKEEPER-105) A Bookkeeper can only open one LedgerHandle to a specific ledger at a time, if it expects them to work

2011-11-04 Thread Sijie Guo (Commented) (JIRA)
[ https://issues.apache.org/jira/browse/BOOKKEEPER-105?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13144115#comment-13144115 ] Sijie Guo commented on BOOKKEEPER-105: -- I reported the same issue in BOOKKE

[jira] [Updated] (BOOKKEEPER-80) subscription msg queue race condition in hedwig c++ client

2011-11-04 Thread Sijie Guo (Updated) (JIRA)
[ https://issues.apache.org/jira/browse/BOOKKEEPER-80?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sijie Guo updated BOOKKEEPER-80: Attachment: BOOKKEEPER-80.patch_v2 attach a new patch, also add a test case to reproduce race

[jira] [Updated] (BOOKKEEPER-82) support journal rolling

2011-11-02 Thread Sijie Guo (Updated) (JIRA)
[ https://issues.apache.org/jira/browse/BOOKKEEPER-82?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sijie Guo updated BOOKKEEPER-82: Fix Version/s: 4.0.0 > support journal roll

[jira] [Updated] (BOOKKEEPER-50) NullPointException at LedgerDescriptor#cmpMasterKey

2011-11-02 Thread Sijie Guo (Updated) (JIRA)
[ https://issues.apache.org/jira/browse/BOOKKEEPER-50?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sijie Guo updated BOOKKEEPER-50: Fix Version/s: 4.0.0 > NullPointException at LedgerDescriptor#cmpMaster

[jira] [Updated] (BOOKKEEPER-69) ServerRedirectLoopException when a machine (hosts bookie server & hub server) reboot, which is caused by race condition of topic manager

2011-11-02 Thread Sijie Guo (Updated) (JIRA)
[ https://issues.apache.org/jira/browse/BOOKKEEPER-69?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sijie Guo updated BOOKKEEPER-69: Fix Version/s: 4.0.0 > ServerRedirectLoopException when a machine (hosts bookie ser

  1   2   >