-
Notifications
You must be signed in to change notification settings - Fork 22
Description
I have a long running saga, with saga_type
DB field containing an assembly version, example value: Core.Rebuses.SagaCommandData``1[[.Core.Features.Commands.SomeCommand, Core, Version=2.0.0.4195, Culture=neutral, PublicKeyToken=null]]
. There is a deployment during a long running saga, the assembly version changes, and it can no longer find the saga, I can see the message Could not find existing saga data for message...
in the output.
I was able to hack-fix it by removing the version from the saga-type
, the value above would become: Core.Rebuses.SagaCommandData``1[[.Core.Features.Commands.SomeCommand, Core, Culture=neutral, PublicKeyToken=null]]
. That works for me.
I can see Rebus.SqlServer
contains ISagaTypeNamingStrategy
, which looks like a solution for this issue. Unfortunately is does not exist in Rebus.PostgreSql
.