-
Notifications
You must be signed in to change notification settings - Fork 587
HDDS-3914. Remove LevelDB configuration option for DN Metastore #1166
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
Conversation
xiaoyuyao
left a comment
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.
LGTM overall, a few comments inline...
...service/src/main/java/org/apache/hadoop/ozone/container/keyvalue/KeyValueContainerCheck.java
Outdated
Show resolved
Hide resolved
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.
Do we still need this?
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.
For the same reason as above.
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 needs to be reversed, maybe a typo.
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.
Thanks. Will fix it.
Codecov Report
@@ Coverage Diff @@
## master #1166 +/- ##
============================================
- Coverage 73.49% 73.43% -0.07%
+ Complexity 10051 10032 -19
============================================
Files 974 974
Lines 49731 49729 -2
Branches 4893 4893
============================================
- Hits 36551 36517 -34
- Misses 10858 10877 +19
- Partials 2322 2335 +13
Continue to review full report at Codecov.
|
xiaoyuyao
left a comment
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.
Thanks @hanishakoneru for the update. LGTM, +1.
|
@hanishakoneru Thanks for working on this and @xiaoyuyao thanks for the review! |
What changes were proposed in this pull request?
LevelDB support was removed for OM and SCM DBs but DN Metastore can still be configured to use LevelDB or RocksDB.
This Jira proposes to remove LevelDB configuration option for DN Metastore (ozone.metastore.impl) and use RocksDB only.
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-3914
How was this patch tested?
Deprecation patch. No unit tests required.