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

Feature/rocksdb engine #187

Merged
merged 8 commits into from
Mar 8, 2023

Conversation

Phoenix500526
Copy link
Collaborator

@Phoenix500526 Phoenix500526 commented Mar 2, 2023

Please briefly answer these questions:
This is the second pr based on #185, described in issue #183

  • what problem are you trying to solve? (or if there's no problem, what's the motivation for this change?)
  • implement RocksEngine and add tests to cover it
  • add configuration setting
  • fail point test
  • what changes does this pull request make?

  • are there any non-obvious implications of these changes? (does it break compatibility with previous versions, etc)

@codecov
Copy link

codecov bot commented Mar 2, 2023

Codecov Report

Merging #187 (81e0639) into master (65fa9ea) will increase coverage by 0.66%.
The diff coverage is 81.15%.

@@            Coverage Diff             @@
##           master     #187      +/-   ##
==========================================
+ Coverage   45.92%   46.58%   +0.66%     
==========================================
  Files          65       66       +1     
  Lines       10104    10348     +244     
==========================================
+ Hits         4640     4821     +181     
- Misses       5464     5527      +63     
Impacted Files Coverage Δ
engine/src/error.rs 0.00% <ø> (ø)
engine/src/lib.rs 100.00% <ø> (ø)
xline/src/server/xline_server.rs 0.00% <ø> (ø)
xline/src/storage/db.rs 64.42% <50.00%> (-30.82%) ⬇️
utils/src/config.rs 88.21% <55.00%> (-2.14%) ⬇️
xline/src/storage/kv_store.rs 60.00% <83.33%> (-0.23%) ⬇️
engine/src/rocksdb_engine.rs 89.17% <89.17%> (ø)
engine/src/engine_api.rs 90.00% <100.00%> (+7.39%) ⬆️
engine/src/memory_engine.rs 98.62% <100.00%> (+0.26%) ⬆️
xline/src/storage/auth_store/backend.rs 53.18% <100.00%> (+0.05%) ⬆️
... and 4 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@Phoenix500526 Phoenix500526 force-pushed the feature/rocksdb-engine branch 2 times, most recently from 4850f58 to 09214af Compare March 3, 2023 02:05
@Phoenix500526 Phoenix500526 marked this pull request as ready for review March 3, 2023 02:28
@Phoenix500526 Phoenix500526 force-pushed the feature/rocksdb-engine branch 2 times, most recently from f6facce to 7fcffb9 Compare March 3, 2023 12:46
@Phoenix500526 Phoenix500526 requested review from rogercloud, markcty and themanforfree and removed request for rogercloud, markcty and themanforfree March 3, 2023 12:49
engine/src/engine_api.rs Show resolved Hide resolved
engine/src/error.rs Show resolved Hide resolved
engine/src/rocksdb_engine.rs Outdated Show resolved Hide resolved
@themanforfree themanforfree mentioned this pull request Mar 6, 2023
engine/src/rocksdb_engine.rs Outdated Show resolved Hide resolved
xline/src/main.rs Outdated Show resolved Hide resolved
utils/src/config.rs Outdated Show resolved Hide resolved
utils/src/config.rs Outdated Show resolved Hide resolved
@markcty
Copy link
Contributor

markcty commented Mar 7, 2023

The first commit implement DB struct and refactor some store backend logic contains nothing? Plz remove it.

@Phoenix500526 Phoenix500526 force-pushed the feature/rocksdb-engine branch 4 times, most recently from 7dbf926 to 1354ef6 Compare March 7, 2023 07:48
@Phoenix500526 Phoenix500526 force-pushed the feature/rocksdb-engine branch 3 times, most recently from 1022d9c to 22f5165 Compare March 8, 2023 00:32
markcty
markcty previously approved these changes Mar 8, 2023
use default_XXX function to initialize the default value for
some command line args, like `retry_timeout`, `heartbeat_interval`.
@markcty markcty merged commit ec8372c into xline-kv:master Mar 8, 2023
@Phoenix500526 Phoenix500526 deleted the feature/rocksdb-engine branch March 19, 2023 03:15
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.

3 participants