Replies: 3 comments 4 replies
-
New table would mean queries needs to be changed and projection initialization would need to be aware that it should create for the rebuild. What I mean by that is enabling blue/green projection deployment. After projection is built in new version, developer can verify if all is fine and if so do the switch to read from new tables. Old projection can then be unregistered. #[Projection("balance")]
#[ProjectionVersions([1, 2])]
class BalanceProjection |
Beta Was this translation helpful? Give feedback.
-
And I think that's more an discussion ticket than issue, mate :) |
Beta Was this translation helpful? Give feedback.
-
Ye, that's the challenge. During "catch-up" phase we would need custom configuration, once projection up to date we would switch to a different one. |
Beta Was this translation helpful? Give feedback.
-
Description
During the projection reset you see stale data on your queries. As you accumulate more and more events in your stream, the reset takes longer and has an impact on the end user.
The feature would be to have a reset without downtime (or very low).
Example
while resetting, a new table could be built while the reset is ongoing, the old table would continue to be updated by events. When the reset is complete, delete old table and rename the new one.
Beta Was this translation helpful? Give feedback.
All reactions