-
Notifications
You must be signed in to change notification settings - Fork 38
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
Simplify engine interface #3008
Merged
Merged
Changes from 1 commit
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
28e4394
engine: drop useless Prm/Res from container APIs
roman-khimov 4b6d39e
engine: drop Prm/Res from delete APIs
roman-khimov 3701d2d
engine: simplify Evacuate interface
roman-khimov ccbacc3
engine: simplify FlushWriteCache interface
roman-khimov b919df4
shard: simplify Get interface
roman-khimov 2fb0906
engine: simplify GetRange interface
roman-khimov ea5c6db
engine: simplify Head interface
roman-khimov fa47327
node: force removal of redundant object copy
roman-khimov e012d78
engine: deduplicate deleteObj/inhume code
roman-khimov a6b3181
*: use engine.Delete instead of engine.Inhume where appropriate
roman-khimov 8d166aa
engine: drop MarkAsGarbage from the InhumePrm
roman-khimov c73ab95
engine: simplify Inhume() interface
roman-khimov 2e2042b
engine: simplify List*/Select interfaces
roman-khimov 88a3774
engine: simplify Put interface
roman-khimov 8d91f82
engine: move metrics collection into entry methods
roman-khimov e482dbf
engine: drop package-level wrappers over StorageEngine
roman-khimov 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
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.
now, there is more than one thing that can delete objects, not sure it is expected. GC can be controlled, GC can be tuned or even stopped to prevent unnecessary disk load (#2992) but with this PR there is also a policer that does things on its own
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.
It did the same thing previously. The only difference is force, that's fa47327.
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 meant deletion through the garbage bucket is more predictable to me. looking at this change makes me think we do not need the garbage bucket at all then
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.
The logic is the same, at least.