On Thu, Oct 10, 2013 at 11:04 AM, Sumedha Rubasinghe <[email protected]>wrote:

> On Thu, Oct 10, 2013 at 10:55 AM, Afkham Azeez <[email protected]> wrote:
>
>>
>>
>>
>> On Wed, Oct 9, 2013 at 9:57 PM, Nuwan Dias <[email protected]> wrote:
>>
>>> AFAIK the 15 minutes Cache duration is not configurable at the moment.
>>>
>>
>> The problem is, why isn't the update reflected in the cache? What Ushani
>> has said in the initial mail is not clear. Was it that the APIs were
>> visible for 15min and then disappeared, or that the APIs became visible
>> after 15 mins and then disappeared? Cache expires after 15mins, so the code
>> that uses caching should try to get stuff from the cache, and if it cannot
>> find something in the cache, it has to refetch it from DB, and put it back
>> into the cache. The caching implementation will not fetch anything for you
>> if things are missing. There is a bug somewhere in the API management
>> components and/org registry.
>>
>
> We may be seeing two issues here.
> 1. Two Registry nodes. One updates the content & its not getting reflected
> in other node. But does after cache expires or second Registry node is
> restarted.
>

I can help debug this.


>
> 2. APIs which are being listed getting suddenly disappearing.
>
> Lets focus on #1 for now as it seems a generic issue.
>

+1

> AM team is looking into #2.
>
>
>> Azeez
>>
>>
>>>
>>> Thanks,
>>> NuwanD.
>>>
>>>
>>> On Wed, Oct 9, 2013 at 8:50 PM, Ushani Balasooriya <[email protected]>wrote:
>>>
>>>> 15 minutes latency to populate changes is discovered when editing
>>>> tiers.xml as well. As a solution changed the registry caching to disabled
>>>> in registry.xml. But still the same issue is discovered. Is this 15 minutes
>>>> configurable? If so where?
>>>>
>>>>
>>>> On Wed, Oct 9, 2013 at 6:38 PM, Nuwan Silva <[email protected]> wrote:
>>>>
>>>>> Same behaviour noticed in Greg testing as well.
>>>>>
>>>>>
>>>>> On Wed, Oct 9, 2013 at 5:57 PM, Ushani Balasooriya <[email protected]>wrote:
>>>>>
>>>>>>
>>>>>> Following behavior can be seen in the store in set up done by the 8th
>>>>>> Oct Pack:
>>>>>>
>>>>>> For  Super tenant mode :
>>>>>>
>>>>>> 1. Created few APIs and published them. After like 15 minutes APIs
>>>>>> were visible on the store at once with tags and also in the recently 
>>>>>> added
>>>>>> section.
>>>>>> 2. But suddenly APIs went missing from the store, but available only
>>>>>> in the recently added section and the tags of it. Intermittently it 
>>>>>> starts
>>>>>> showing one API.
>>>>>> 3. It takes time to update the registry as well.
>>>>>> 4. Once the APIs started listing down in the registry only they will
>>>>>> be available in the store recently added section, tags and in search
>>>>>> results. but still it will not be available in the store main listing as
>>>>>> given in the attachment.
>>>>>>
>>>>>>
>>>>>> Issue which was reported [1] against a previous old pack is reopened.
>>>>>> Pls have a look.
>>>>>>
>>>>>> [1] https://wso2.org/jira/browse/APIMANAGER-1725
>>>>>>
>>>>>> Regards,
>>>>>> --
>>>>>> *Ushani Balasooriya*
>>>>>> Software Engineer - QA;
>>>>>> WSO2 Inc; http://www.wso2.com/.
>>>>>> Mobile; +94772636796
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> Dev mailing list
>>>>>> [email protected]
>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> *
>>>>> *
>>>>> *Nuwan Silva
>>>>> *
>>>>> *Senior Software Engineer - QA*
>>>>> Mobile: +94779804543
>>>>>
>>>>> WSO2 Inc.
>>>>> lean . enterprise . middlewear.
>>>>> http://www.wso2.com
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> *Ushani Balasooriya*
>>>> Software Engineer - QA;
>>>> WSO2 Inc; http://www.wso2.com/.
>>>> Mobile; +94772636796
>>>>
>>>>
>>>> _______________________________________________
>>>> Dev mailing list
>>>> [email protected]
>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>
>>>>
>>>
>>>
>>> --
>>> Nuwan Dias
>>>
>>> Senior Software Engineer - WSO2, Inc. http://wso2.com
>>> email : [email protected]
>>> Phone : +94 777 775 729
>>>
>>> _______________________________________________
>>> Dev mailing list
>>> [email protected]
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> *Afkham Azeez*
>> Director of Architecture; WSO2, Inc.; http://wso2.com
>> Member; Apache Software Foundation; http://www.apache.org/
>> * <http://www.apache.org/>**
>> email: **[email protected]* <[email protected]>* cell: +94 77 3320919
>> blog: **http://blog.afkham.org* <http://blog.afkham.org>*
>> twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
>> *
>> linked-in: **http://lk.linkedin.com/in/afkhamazeez*
>> *
>> *
>> *Lean . Enterprise . Middleware*
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> /sumedha
> m: +94 773017743
> b :  bit.ly/sumedha
>



-- 
*Afkham Azeez*
Director of Architecture; WSO2, Inc.; http://wso2.com
Member; Apache Software Foundation; http://www.apache.org/
* <http://www.apache.org/>**
email: **[email protected]* <[email protected]>* cell: +94 77 3320919
blog: **http://blog.afkham.org* <http://blog.afkham.org>*
twitter: **http://twitter.com/afkham_azeez*<http://twitter.com/afkham_azeez>
*
linked-in: **http://lk.linkedin.com/in/afkhamazeez*
*
*
*Lean . Enterprise . Middleware*
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to