[
https://issues.apache.org/jira/browse/LIVY-239?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gyorgy Gal updated LIVY-239:
----------------------------
Fix Version/s: 0.10.0
(was: 0.9.0)
This issue has been moved to the 0.10.0 release as part of a bulk update. If
you feel this is moved out inappropriately, feel free to provide justification
and reset the Fix Version to 0.9.0.
> Moving the logic to generate session IDs from Session Manager to SessionStore
> -----------------------------------------------------------------------------
>
> Key: LIVY-239
> URL: https://issues.apache.org/jira/browse/LIVY-239
> Project: Livy
> Issue Type: New Feature
> Components: Server
> Affects Versions: 0.3
> Environment: git commit hash: 5de6cf21c61db4093646a23c65c37c8b52202dc8
> Reporter: Meisam
> Assignee: Meisam
> Priority: Major
> Fix For: 0.10.0
>
>
> Livy is using an atomic integer in `SessionManager` to generate unique
> session IDs and `SessionStore` saves and retrieves the generated IDs. I am
> proposing to move the atomic counter from `SessionManager` to `SessionStore`.
> The immediate benefit of this change is that logic to generate and persist
> session IDs won't be scattered in multiple places anymore, which makes it
> easier to guarantee sessions IDs are generated uniquely and atomically. This
> would be even more helpful to implement multimode HA where generating session
> IDs separately on Livy nodes can easily lead to inconsistent values.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)