A partial archive of https://discourse-mediawiki.wmflabs.org as of Saturday May 21, 2022.

SessionBackend: Session data marked as “dirty”

Osnard

I experience frequent session losses in a MediaWiki recently. Debug log tells me

SessionBackend "a34...45d" data dirty due to dirty()

What does this mean? Can this lead to session loss?

Tgr

Mainly that you have enabled debug-level logging and will see all kinds of noise in there.

dirty() marks a session as needing to be saved; it’s called by all methods that change session data.