Hi there,
I’d like to know if there is any recommendation on how to deploy a single node setup without any downtime.
Our current setup is the following:
1.) We have a running instance
2.) A second instance is started and will boot up
3.) If the startup is successful, the old instance will get a shutdown signal
4.) In the meantime where two instances are running we get a lot of exceptions at the new instance like this
WARN 1 — [,] [ parallel-10] .s.e.g.UploadedProductVariationProcessor : exception while executing CreateProductVariationCreateOrUpdateProcess command
…
java.util.concurrent.CompletionException: org.axonframework.commandhandling.NoHandlerForCommandException: No handler was subscribed to command [package.command.CreateProductVariationCreateOrUpdateProcess]
5.) When the old instance was shutdown successfully and released all token_entries the new one start to working as expected without any exceptions.
Is there any other way to deploy more gracefully?