-
Notifications
You must be signed in to change notification settings - Fork 5
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
231 pass and store timestamp within record #232
Merged
Merged
Changes from 21 commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
dfc1ee4
[231] Pass and store timestamp within record
ikopylov 1824f70
[231] Update tests
ikopylov 57d2569
[231] Update tests
ikopylov 626d5f2
[231] Fix docs
ikopylov 84c58bd
[231] Keeps ordering by timestamp in storage::read_all
ikopylov b809b97
[231] Check data equality in tests
ikopylov d4aeec7
[231] Add ability to attach metadata to deletion record
ikopylov 461ba4a
[231] Fix build
ikopylov c05616d
[231] Update changelog
ikopylov a5b9b47
[231] Update comment
ikopylov b1738a9
Merge branch 'master' into 231-pass-and-store-timestamp-within-record
ikopylov 8e6f04f
Merge branch 'master' into 231-pass-and-store-timestamp-within-record
ikopylov 0ff13dc
[231] Fix build after merge
ikopylov afceb19
[231] Insert position search improvement
ikopylov 156149c
[231] Add test for ordering by timestamp
ikopylov 834b974
[231] Extend ordering test with deletion
ikopylov 50062ce
[231] Update `contains` to preserve ordering
ikopylov 4a06ab1
[231] get_any -> get_latest
ikopylov b1a9a94
[231] Synchronize read and contains implementation on Storage level. …
ikopylov 727e5f5
[231] Include BLOB path into errors returned from Entry functions
ikopylov 4b15126
[231] Update Changelog.md
ikopylov 1479cbb
Merge branch 'master' into 231-pass-and-store-timestamp-within-record
ikopylov e3cb259
[231] Fix build errors after merge
ikopylov c8b1e5c
[231] Updates according to the code review
ikopylov 4730a8a
[231] Remove dead code according to code review
ikopylov adf7566
[231] Remove unused import
ikopylov f6071b6
Merge branch 'master' into 231-pass-and-store-timestamp-within-record
ikopylov 1291d4f
[231] Remove dead code
ikopylov File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why this allow is needed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
read_latest
is no longer used. Since this requestStorage
usesget_latest_entry
. I thought it might be worth keeping this function for the future. What do you think?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it's better to just keep in git history since it can make it harder to refactor code
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've removed this function
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What about other dead_code allowances, they should be there?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we assume that the only way to read data now is by getting
Entry
first, then we should keepread_all_entries
.contains
is questionable, but as long as it is implemented as a simple redirection toget_latest_entry
, we can keep it. It is good to have such function just as a declaration, that the struct supports fast checking for existence.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I removed all dead code