[Architecture] Issue at tenant user login in cluster mode - Mutiple user stores active

2013-09-26 Thread Pushpalanka Jayawardhana
Hi, This with regard to the issue [1], which is a known issue in IS 4.5.0. Issue reproduced with following steps. Set up cluster with two IS nodes (Depsync enabled). Create a tenant(wso2.com) Wait till the tenant is unloaded in the worker node Add a secondary user store in master node Add a

Re: [Architecture] Issue at tenant user login in cluster mode - Mutiple user stores active

2013-09-26 Thread Prabath Siriwardena
+1 for that.. Only downside - tenant is loaded not on demand.. Another approach is.. Currently the tenant is loaded by looking at the URL.. say for example - if the url says - /t/wso2.com - this will make wso2.com to be loaded if it is not loaded already. The issue with authentication is - we

Re: [Architecture] Issue at tenant user login in cluster mode - Mutiple user stores active

2013-09-26 Thread Afkham Azeez
On Thu, Sep 26, 2013 at 5:26 PM, Prabath Siriwardena prab...@wso2.comwrote: +1 for that.. Only downside - tenant is loaded not on demand.. That message has to be used with care. Should only send that message during adding user stores. It should not be sent for other cases for which the tenant

Re: [Architecture] Issue at tenant user login in cluster mode - Mutiple user stores active

2013-09-26 Thread Pushpalanka Jayawardhana
Thanks, Pushpalanka Jayawardhana Software Engineer WSO2 Lanka (pvt) Ltd [image: Facebook]http://s.wisestamp.com/links?url=http%3A%2F%2Fwww.facebook.com%2Fpushpalanka [image: Twitter]http://s.wisestamp.com/links?url=http%3A%2F%2Ftwitter.com%2FPushpalanka [image:

Re: [Architecture] Issue at tenant user login in cluster mode - Mutiple user stores active

2013-09-26 Thread Suresh Attanayaka
Hi All, I think it's quite acceptable if the users of the newly added userstore are not being able to login within a timeframe (like 5 min in production) . So what if we send the LoadTenant Cluster messages to the worker nodes after a new userstore is being added, after the worker nodes have

Re: [Architecture] Issue at tenant user login in cluster mode - Mutiple user stores active

2013-09-26 Thread Prabath Siriwardena
Won't it be late to load the tenant at this moment? As the changes needs to be checked out from the repo , for authentication to be successful, are we to hold the decision using some mechanism till the check out completes? This is the same behavior you see when you login to management

Re: [Architecture] Issue at tenant user login in cluster mode - Mutiple user stores active

2013-09-26 Thread Pushpalanka Jayawardhana
Thanks, Pushpalanka Jayawardhana Software Engineer WSO2 Lanka (pvt) Ltd [image: Facebook]http://s.wisestamp.com/links?url=http%3A%2F%2Fwww.facebook.com%2Fpushpalanka [image: Twitter]http://s.wisestamp.com/links?url=http%3A%2F%2Ftwitter.com%2FPushpalanka [image: