-
Notifications
You must be signed in to change notification settings - Fork 208
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
Introduce sqlite database to store state information for CAS #1494
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #1494 +/- ##
==========================================
+ Coverage 62.76% 62.77% +0.01%
==========================================
Files 123 125 +2
Lines 43340 43599 +259
Branches 43340 43599 +259
==========================================
+ Hits 27202 27371 +169
- Misses 14827 14873 +46
- Partials 1311 1355 +44
|
5b46804
to
7b490c4
Compare
Simplified version of #1399, to support deduplication at runtime instead of build time. |
08b0d16
to
95c7832
Compare
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.
A smoke test for code path is required.
465e31e
to
b8fc335
Compare
Introduce sqlite to store CAS related information. Signed-off-by: Huang Jianan <[email protected]> Signed-off-by: xwb1136021767 <[email protected]>
Refine the sqlite database structure for storing CAS information. Signed-off-by: Jiang Liu <[email protected]>
Move cas db from util into storage. Signed-off-by: Jiang Liu <[email protected]>
Sqlite connection is not thread safe, so use connection pool to support multi-threading. Signed-off-by: Jiang Liu <[email protected]>
Since this mod is basic module, which has no entry from user, smoke test is not required. |
LGTM |
Relevant Issue (if applicable)
We are going to support runtime chunk deduplication, and this PR introduce sqlite database to store chunk state information for deduplication.
Types of changes
What types of changes does your PullRequest introduce? Put an
x
in all the boxes that apply:Checklist
Go over all the following points, and put an
x
in all the boxes that apply.