Skip to content

Eliminate VersionedKVStore.GetSnapshot()#1607

Merged
enlight merged 1 commit intomasterfrom
pr1532-followup
Jan 29, 2020
Merged

Eliminate VersionedKVStore.GetSnapshot()#1607
enlight merged 1 commit intomasterfrom
pr1532-followup

Conversation

@enlight
Copy link
Copy Markdown
Contributor

@enlight enlight commented Jan 29, 2020

This is a follow up to PR #1532, cleans up a couple of issues left over from that PR:

  • Eliminate GetSnapshot() from all the stores, only GetSnapshotAt() is used now.
  • Fix VersionedCachingStore.GetSnapshotAt() to be atomic.

Also cleaned up the tests a little bit so they test using real stores instead of buggy mock stores.

This is a follow up to PR #1532, cleans up a couple of issues left over
from that PR:
- Eliminate GetSnapshot() from all the stores, only GetSnapshotAt() is used now.
- Fix VersionedCachingStore.GetSnapshotAt() to be atomic.

Also cleaned up the tests a little bit so they test using real stores
instead of buggy mock stores.
Copy link
Copy Markdown
Contributor

@atchapcyp atchapcyp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Look good to me.

@enlight enlight merged commit 922afea into master Jan 29, 2020
@enlight enlight deleted the pr1532-followup branch January 29, 2020 11:19
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.

2 participants