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 <[email protected]> wrote:

>  Yes. you should see a pair of "START:INVOKE..." and "END:INVOKE:..." for
> each callback in your log.
> ------------------------------
> *From:* Varun Sharma [[email protected]]
> *Sent:* Thursday, March 05, 2015 11:11 AM
> *To:* [email protected]
> *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 <[email protected]> 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 [[email protected]]
>> *Sent:* Thursday, March 05, 2015 10:44 AM
>> *To:* [email protected]
>> *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
>>
>
>

Reply via email to