Re: BookKeeper#openLedgerNoRecovery hangs

2017-07-20 Thread Enrico Olivelli
Looking at this PR from Sijie I noticed that there is a rate limiter for our internal subclass of ZooKeeper client. https://github.com/apache/bookkeeper/pull/264 The rate limiter is not enabled and cannot be enabled. I wonder if I hit a bug in our getData or ZkRetryRunnable or it is enough to

Re: BookKeeper#openLedgerNoRecovery hangs

2017-07-19 Thread Enrico Olivelli
Il mer 19 lug 2017, 11:11 Sijie Guo ha scritto: > On Wed, Jul 19, 2017 at 4:04 PM, Enrico Olivelli > wrote: > >> Hi, >> in some internal benchmarks we are experiencing openLedgerNoRecovery >> calls which remain hung. >> I see that basically that function

Re: BookKeeper#openLedgerNoRecovery hangs

2017-07-19 Thread Sijie Guo
On Wed, Jul 19, 2017 at 4:04 PM, Enrico Olivelli wrote: > Hi, > in some internal benchmarks we are experiencing openLedgerNoRecovery calls > which remain hung. > I see that basically that function calls ZookKeeper#getData. > > Does anyone have an idea of how it can happen ?

BookKeeper#openLedgerNoRecovery hangs

2017-07-19 Thread Enrico Olivelli
Hi, in some internal benchmarks we are experiencing openLedgerNoRecovery calls which remain hung. I see that basically that function calls ZookKeeper#getData. Does anyone have an idea of how it can happen ? Is there any implicit timeout on ZK.getData() ? I did not find any way and personally I