{"action":"created","issue":{"url":"https://api.github.com/repos/wso2/product-is/issues/2921","repository_url":"https://api.github.com/repos/wso2/product-is","labels_url":"https://api.github.com/repos/wso2/product-is/issues/2921/labels{/name}","comments_url":"https://api.github.com/repos/wso2/product-is/issues/2921/comments","events_url":"https://api.github.com/repos/wso2/product-is/issues/2921/events","html_url":"https://github.com/wso2/product-is/issues/2921","id":304672519,"number":2921,"title":"To be clear the detail of Session Persistence Section","user":{"login":"harsha1979","id":2236308,"avatar_url":"https://avatars1.githubusercontent.com/u/2236308?v=4","gravatar_id":"","url":"https://api.github.com/users/harsha1979","html_url":"https://github.com/harsha1979","followers_url":"https://api.github.com/users/harsha1979/followers","following_url":"https://api.github.com/users/harsha1979/following{/other_user}","gists_url":"https://api.github.com/users/harsha1979/gists{/gist_id}","starred_url":"https://api.github.com/users/harsha1979/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harsha1979/subscriptions","organizations_url":"https://api.github.com/users/harsha1979/orgs","repos_url":"https://api.github.com/users/harsha1979/repos","events_url":"https://api.github.com/users/harsha1979/events{/privacy}","received_events_url":"https://api.github.com/users/harsha1979/received_events","type":"User","site_admin":false},"labels":[{"id":678695642,"url":"https://api.github.com/repos/wso2/product-is/labels/Type/Docs","name":"Type/Docs","color":"1d76db","default":false}],"state":"open","locked":false,"assignee":{"login":"harsha1979","id":2236308,"avatar_url":"https://avatars1.githubusercontent.com/u/2236308?v=4","gravatar_id":"","url":"https://api.github.com/users/harsha1979","html_url":"https://github.com/harsha1979","followers_url":"https://api.github.com/users/harsha1979/followers","following_url":"https://api.github.com/users/harsha1979/following{/other_user}","gists_url":"https://api.github.com/users/harsha1979/gists{/gist_id}","starred_url":"https://api.github.com/users/harsha1979/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harsha1979/subscriptions","organizations_url":"https://api.github.com/users/harsha1979/orgs","repos_url":"https://api.github.com/users/harsha1979/repos","events_url":"https://api.github.com/users/harsha1979/events{/privacy}","received_events_url":"https://api.github.com/users/harsha1979/received_events","type":"User","site_admin":false},"assignees":[{"login":"harsha1979","id":2236308,"avatar_url":"https://avatars1.githubusercontent.com/u/2236308?v=4","gravatar_id":"","url":"https://api.github.com/users/harsha1979","html_url":"https://github.com/harsha1979","followers_url":"https://api.github.com/users/harsha1979/followers","following_url":"https://api.github.com/users/harsha1979/following{/other_user}","gists_url":"https://api.github.com/users/harsha1979/gists{/gist_id}","starred_url":"https://api.github.com/users/harsha1979/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harsha1979/subscriptions","organizations_url":"https://api.github.com/users/harsha1979/orgs","repos_url":"https://api.github.com/users/harsha1979/repos","events_url":"https://api.github.com/users/harsha1979/events{/privacy}","received_events_url":"https://api.github.com/users/harsha1979/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-03-13T08:45:02Z","updated_at":"2018-03-22T08:27:33Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"There is a configuration section to explain the session persistence in identity.xml as in bellow.\r\n\r\n```\r\n<SessionDataPersist>\r\n\t<Enable>true</Enable>\r\n\t<Temporary>true</Temporary>\r\n\t<PoolSize>0</PoolSize>\r\n\t<SessionDataCleanUp>\r\n\t\t<Enable>true</Enable>\r\n\t\t<CleanUpTimeout>20160</CleanUpTimeout>\r\n\t\t<CleanUpPeriod>1140</CleanUpPeriod>\r\n\t\t<!--Instead of deleting all the records at once, we are deleting the records in chunks to prevent\r\n\t\tthe -->\r\n\t\t<!--possible deadlock and lock scenarios. The following property defines the chunk size.-->\r\n\t\t<DeleteChunkSize>50000</DeleteChunkSize>\r\n\t</SessionDataCleanUp>\r\n\t<OperationDataCleanUp>\r\n\t\t<Enable>true</Enable>\r\n\t</OperationDataCleanUp>\r\n</SessionDataPersist>\r\n```\r\n\r\n\r\nHere we don't have enough information to self understand of some elements.\r\n\r\n1. Temporary\r\n\r\nAs in the explanation of the docs, it is for save the temporary data of the authentication request. I think this is for save the inbound request data in protocol wise, right ? So now the redirections are not happened from the protocol endpoint to the framework, do we need this persistence ?\r\n\r\nOr else do we have any other usage of this operation. It would be great if someone can give the full details about this and what happen underneath.\r\n\r\n2 CleanUpPeriod\r\n\r\nAs in this explanation of this clean-up task, this task run within this given time period under this element. Then even the data is not full cleaned in the persistent media, this task would stop. Is that what it means ? \r\n\r\nThen we have to explain why we have done such a time period to stop the task and what is the impact of that.\r\n\r\nAnd in this section we have added a word called \"operation data\". Is this same to the temporary data ? \r\n\r\nIf not shall we explain that as well to make this more clear.\r\n\r\nAnd there is another element called CleanUpPeriod and is it not related to the operational data ?\r\n\r\nAgain there is a separate element to enable OperationalDataCleanUp and this is only for enable/disable of the operation data clean up task , right ?\r\n\r\n3 PoolSize\r\n\r\nHere is the explanation what we have now.\r\n\r\n\"To improve performance, OAuth2 access tokens are persisted asynchronously in the database using a thread pool. \r\nThis value refers to the number of threads in that thread pool.\"\r\n\r\nIs this poolSize only for OAuth2 Acccess Token ? \r\n\r\nAre there any other usage of that  ? \r\n\r\nAre there any relation this with Session persistence to added in to the session persistence section ?\r\n\r\n\r\nThis is the documentation link for this. \r\nhttps://docs.wso2.com/display/IS550/Authentication+Session+Persistence"},"comment":{"url":"https://api.github.com/repos/wso2/product-is/issues/comments/375216110","html_url":"https://github.com/wso2/product-is/issues/2921#issuecomment-375216110","issue_url":"https://api.github.com/repos/wso2/product-is/issues/2921","id":375216110,"user":{"login":"harsha1979","id":2236308,"avatar_url":"https://avatars1.githubusercontent.com/u/2236308?v=4","gravatar_id":"","url":"https://api.github.com/users/harsha1979","html_url":"https://github.com/harsha1979","followers_url":"https://api.github.com/users/harsha1979/followers","following_url":"https://api.github.com/users/harsha1979/following{/other_user}","gists_url":"https://api.github.com/users/harsha1979/gists{/gist_id}","starred_url":"https://api.github.com/users/harsha1979/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harsha1979/subscriptions","organizations_url":"https://api.github.com/users/harsha1979/orgs","repos_url":"https://api.github.com/users/harsha1979/repos","events_url":"https://api.github.com/users/harsha1979/events{/privacy}","received_events_url":"https://api.github.com/users/harsha1979/received_events","type":"User","site_admin":false},"created_at":"2018-03-22T08:27:33Z","updated_at":"2018-03-22T08:27:33Z","author_association":"CONTRIBUTOR","body":"This is done"}}
{"actor":{"display_login":"harsha1979"}}