On 08/09/15 15:25, Bill Burke wrote:
On 9/8/2015 9:04 AM, Stian Thorgersen wrote:
>
> ----- Original Message -----
>> From: "Bill Burke" <bburke(a)redhat.com>
>> To: keycloak-dev(a)lists.jboss.org
>> Sent: Tuesday, 8 September, 2015 2:15:20 PM
>> Subject: Re: [keycloak-dev] Remove cache on/off options in admin console
>>
>> Only if you have an option to clear the cache. It is really important
>> to be able to clear the cache. Right now the cache is cleared by
> Why is it important to be able to clear the cache?
>
Somebody does offline DB maintenance. Nodes get separated and rejoin
the group, etc.
>> turning the cache off, then on. IMO, its a great option to have just in
>> case we've made a mistake in the caching layer. In that case, the user
>> can just turn off the cache until we patch the bug.
> A better solution is just make sure it works ;)
>
Its good to have a fallback option.
+1 to have fallback option and possibility to clear the cache. Some
caching related bugs could be hidden for the longer time and found by
someone later at production (for example something not properly
invalidated during realm update etc). If we have the option, we can ask
people to try clear the cache to verify if there is really caching
related issue or not.
Marek