Handling deploys #267
Replies: 2 comments
-
Good question, I am struggling with same issue. The logic changes required from me to change event properties. I've done it in migration and also ran artisan reapplying projector command from there. I am not sure it's the best solution, but it didn't require changes in deployment process. It also answers your first question. Maybe using snapshots mechanism would be useful to snap aggregate state before deploy changes, and after that use events no more, use snapshot state instead. Just thinking loud. Any another solutions/thoughts? |
Beta Was this translation helpful? Give feedback.
-
Hi @bmbBAMBUS Using snapshots definitely would help with performance but there is still a potential gap in scenario I describe in my first post. |
Beta Was this translation helpful? Give feedback.
-
Hi guys,
after playing for a while with this package, it came to the moment when I had to do a production deploy. I wonder how do you manage your deployments in terms of projections/event changes?
Let's say we had added a column to some table and modified projector which manage that, so we have to rebuild the whole table. You deployed a code base, run migrations etc. with help of some deploying tool, what happens next?
Is maintenance mode the only option to properly introduce new/modified projections?
Beta Was this translation helpful? Give feedback.
All reactions