Skip to content

Commit

Permalink
fix: Fix Rebuild increments projection version
Browse files Browse the repository at this point in the history
  • Loading branch information
leksyCode committed Jun 28, 2022
1 parent 78899dd commit 719e02e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public void Rebuild(string hash, IProjectionVersioningPolicy policy)
{
if (CanRebuild(hash))
{
ProjectionVersion currentLiveVersion = state.Versions.GetNext(policy, hash);
ProjectionVersion currentLiveVersion = state.Versions.GetLive();
var timebox = GetVersionRequestTimebox(hash);
RequestVersion(state.Id, currentLiveVersion.WithStatus(ProjectionStatus.Rebuilding), timebox);
}
Expand Down

0 comments on commit 719e02e

Please sign in to comment.