helix-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Varun Sharma <va...@pinterest.com>
Subject Re: RoutingTableProvider dropping callbacks
Date Thu, 05 Mar 2015 19:33:24 GMT
I suspect the callbacks are not coming in, for a long time now.

On Thu, Mar 5, 2015 at 11:30 AM, Varun Sharma <varun@pinterest.com> wrote:

> I grepped this and found nothing:
>
> sudo grep START:INVOKE.*EXTERNALVIEW /var/log/terrapin/controller.log*
>
> I found a bunch of START:INVOKE for the IDEALSTATES znode though.
>
> On Thu, Mar 5, 2015 at 11:15 AM, Zhen Zhang <zzhang@linkedin.com> wrote:
>
>>  Yes. you should see a pair of "START:INVOKE..." and "END:INVOKE:..."
>> for each callback in your log.
>> ------------------------------
>> *From:* Varun Sharma [varun@pinterest.com]
>> *Sent:* Thursday, March 05, 2015 11:11 AM
>> *To:* user@helix.apache.org
>> *Subject:* Re: RoutingTableProvider dropping callbacks
>>
>>   Ohk - is there a way to confirm that the callbacks are being processed
>> (from the logs etc.) ?
>>
>> On Thu, Mar 5, 2015 at 10:50 AM, Zhen Zhang <zzhang@linkedin.com> wrote:
>>
>>>  Hi Varun,
>>>
>>>  This should not be a problem. When we register a callback, we are
>>> expecting a call back type of INIT first, followed by a sequence of
>>> CALLBACK types, and when you unregister the callback, you will received a
>>> FINALIZED type. Since unregister is an async operation, when you receive a
>>> FINALIZED type, you might still see a couple of CALLBACK type callbacks,
>>> which are simply ignored. The log is basically telling you that.
>>>
>>>  Thanks,
>>> Jason
>>>  ------------------------------
>>> *From:* Varun Sharma [varun@pinterest.com]
>>> *Sent:* Thursday, March 05, 2015 10:44 AM
>>> *To:* user@helix.apache.org
>>> *Subject:* RoutingTableProvider dropping callbacks
>>>
>>>    Hi,
>>>
>>>  It seems that the RoutingTableProvider is dropping callbacks in our
>>> case. Here is a log:
>>>
>>>  [ZkClient-EventThread-17-terrapinzk001a:2181]
>>> (CallbackHandler.java:130) WARN  Skip processing callbacks for listener:
>>> com.pinterest.terrapin.controller.TerrapinRoutingTableProvider@7e7f8062,
>>> path: /main_a/EXTERNALVIEW, expected types: [INIT] but was CALLBACK
>>>
>>>
>>>  We have a custom RoutingTableProvider to catch callbacks and do some
>>> processing - this is causing a lot of issues for us. What  could be causing
>>> this ?
>>>
>>>  Thanks
>>> Varun
>>>
>>
>>
>

Mime
View raw message