[MGNLWORKFLOW-332] Session numbers add up in the workflow workspace Created: 09/May/16  Updated: 09/Feb/17  Resolved: 25/Aug/16

Status: Closed
Project: Magnolia Workflow Module
Component/s: None
Affects Version/s: 5.4.x, 5.5.2
Fix Version/s: 5.4.9, 5.5.3, 5.6

Type: Bug Priority: Major
Reporter: Lars Fischer Assignee: Ilgun Ilgun
Resolution: Fixed Votes: 0
Labels: performance, session, workflow
Remaining Estimate: 0d
Time Spent: 0.25d
Original Estimate: Not Specified

Attachments: PNG File Bildschirmfoto 2016-05-09 um 15.20.02.png    
Issue Links:
Relates
dependency
depends upon MAGNOLIA-6753 Investigate and propose solution in a... Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:
Sprint: Basel 58
Story Points: 5

 Description   

It seems that after every restart of Magnolia, a new node is created under "sessions" in the workflow workspace.
According to ejervidalo, there should be only one session in use and the first node ("0") should be re-used instead of creating a new one.

Problem:
SystemContextSessionStore#generateSessionInfoId is doing a while loop and increasing the count of sessions thus the ID whenever its already present and this behaviour is most probably causing the problem of having a separate session on each restart.

https://git.magnolia-cms.com/projects/ENTERPRISE/repos/workflow/commits?until=refs%2Fheads%2Fbugfix%2FMGNLWORKFLOW-324


Generated at Mon Feb 12 10:09:02 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.