errose28 opened a new pull request #1544: URL: https://github.com/apache/ozone/pull/1544
## What changes were proposed in this pull request Use a shared static Options object for every column family in every RocksDB instance on a datanode. This results in one configurable cache being used for all RocksDB instances on a datanode. Each RocksDB instance will have its own DBOptions, since this requires the use of RocksDB Statistics objects which are not thread safe and cannot be shared. The `DBStoreBuilder` class was refactored to make configuration easier. It is now possible to use the same configurable column family options for all column families, and it is easier to reason about which configurations will be applied. It is no longer an error to register a table twice with the builder, the second call will simply override the first, which is usually the expected behavior in setters for builders. There should be no other functionality changes to this class. ## What is the link to the Apache JIRA HDDS-4337 ## How was this patch tested? `DBStoreBuilder` unit tests were updated. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
