Skip to content

FISH-13058 Session bugs in availability mode: Missing JSESSIONIDVERSION and parallel requests Lead To Session Not Being Correctly Retrieved In Relaxed Mode#7984

Open
lprimak wants to merge 1 commit intopayara:mainfrom
flowlogix:dont-require-version-in-relaxed-mode
Open

Conversation

@lprimak
Copy link
Copy Markdown
Contributor

@lprimak lprimak commented Mar 1, 2026

…y retrieved in relaxed mode

This only happens on a first request that happens in parallel with session creation, so very sporadic.

Another issue in the same realm. During parallel requests, older version of the session can overwrite a newer version. This fixes that by preventing older version from ever overriding a newer one.

Description

This is a bug fix. When a new session is being accessed in parallel with another thread creating it,
no version exists and thus session is not being found, or newer sessions being overwritten with older versions

@Pandrex247
Copy link
Copy Markdown
Member

Do you have a reproducer for this?

@Pandrex247 Pandrex247 changed the title bugfix: missing JSESSIONIDVERSION leads to session not being correctl… FISH-13058 Missing JSESSIONIDVERSION Leads To Session Not Being Correctly Retrieved In Relaxed Mode Mar 2, 2026
@lprimak
Copy link
Copy Markdown
Contributor Author

lprimak commented Mar 2, 2026

No :(. It happens once every couple of weeks in production and is a race condition

@lprimak lprimak force-pushed the dont-require-version-in-relaxed-mode branch 2 times, most recently from d016843 to fd21274 Compare March 15, 2026 04:03
…y retrieved in relaxed mode

NOTE: This only happens on a first request that happens in parallel with session creation, so very sporadic
bugfix: do not load older versions of a session in into the store - will override newer, correct session
@lprimak lprimak force-pushed the dont-require-version-in-relaxed-mode branch from c52fedb to 7957173 Compare March 16, 2026 00:40
@lprimak lprimak changed the title FISH-13058 Missing JSESSIONIDVERSION Leads To Session Not Being Correctly Retrieved In Relaxed Mode FISH-13058 Session bugs in availability mode: Missing JSESSIONIDVERSION and parallel requests Lead To Session Not Being Correctly Retrieved In Relaxed Mode Mar 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants