Upgrading keycloak persist sessions

I need some advice. I am managing the upgrade of our keycloak 12.0.4 (I know it is a very old version), but I encountered a problem when we have long-term saved sessions and I would need them to remain preserved after the upgrade.
Current configuration is 2 keycloaks running in docker in standalone-ha with internal infinispan.

I will be grateful for any advice. :slight_smile: