Migrating from Akka Persistence Classic to Akka Persistence Typed

148 views Asked by At

I am looking to migrate from Classic Akka Persistence to Akka Persistence Typed. The Lagom documentation found here:1 says that " Note : the only limitation when migrating from from Lagom Persistence (classic) to Akka Persistence Typed is that a full cluster shutdown is required. Even though all durable data is compatible, Lagom Persistence (classic) and Akka Persistence Typed can’t coexist."

Does anyone know if this applies to all persistent entities a server may be aware of? For example, the service I work on has 3 seperate persistent entities. Do I need to migrate all 3 in one go, or can I do one at a time, with a full cluster shutdown each time?

1

There are 1 answers

1
Per Wiklander On

It’s per Entity. You can migrate them one at a time, but you cannot have a cluster where some nodes run the old version and some run the new, that’s why you need a full shutdown.