Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

snapshotting fix #107

Merged
merged 1 commit into from
Jan 17, 2020
Merged

snapshotting fix #107

merged 1 commit into from
Jan 17, 2020

Conversation

alanbem
Copy link
Member

@alanbem alanbem commented Jan 17, 2020

fix edge-case where after snapshot storage was reset, aggregates wouldn't be snapshotted up until first change occurred - it could result in multiple times of aggregates replaying from store (from potentially huge number of events) instead of be restored from snapshot

@alanbem alanbem self-assigned this Jan 17, 2020
…'t be snapshotted up until first change occured - it could result in multiple times of aggregates replaying from store (from potentially huge number of events) instead of be restored from snapshot
@codecov
Copy link

codecov bot commented Jan 17, 2020

Codecov Report

Merging #107 into master will decrease coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@             Coverage Diff             @@
##             master    #107      +/-   ##
===========================================
- Coverage      99.9%   99.9%   -0.01%     
+ Complexity      848     847       -1     
===========================================
  Files           112     112              
  Lines          2213    2212       -1     
===========================================
- Hits           2211    2210       -1     
  Misses            2       2
Impacted Files Coverage Δ Complexity Δ
...ggregateRoot/Repository/EventSourcedRepository.php 100% <100%> (ø) 11 <0> (-1) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6f1fe9b...5655783. Read the comment docs.

@alanbem alanbem merged commit 688568c into master Jan 17, 2020
@alanbem alanbem deleted the snapshotting-fix branch January 17, 2020 09:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant