[
https://issues.apache.org/jira/browse/HDDS-5379?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Yuan Gu updated HDDS-5379:
--------------------------
Description:
Because we are intending to add a new CF to the Recon container DB, the
existing ContainerDBServiceProvider must be refactored to resolve conflict with
a new service provider sharing the same RDB as the current one directly
operates on the DB not just the CF/tables.
# Refactor ContainerDBServiceProvider into something not directly related to
the underlying RDB
# Use a new ReconDBStore instead of containerDbStore in
ContainerDBServiceProviderImpl
# Rename ContainerDBServiceProvider/ContainerDBServiceProviderImpl into sth
more appropriate
# Combined ReconRocksDB and ReconDBProvider into one class, which manages all
db-level operations.
was:
Because we are intending to add a new CF to the Recon container DB, the
existing ContainerDBServiceProvider must be refactored to resolve conflict with
a new service provider sharing the same RDB as the current one directly
operates on the DB not just the CF/tables.
# Refactor ContainerDBServiceProvider into something not directly related to
the underlying RDB
2. Use a new ReconDBStore instead of containerDbStore in
ContainerDBServiceProviderImpl
3. Rename ContainerDBServiceProvider/ContainerDBServiceProviderImpl into sth
more appropriate
> Refactor existing ContainerDBServiceProvider to prepare for the new NSSummary
> Service Provider
> ----------------------------------------------------------------------------------------------
>
> Key: HDDS-5379
> URL: https://issues.apache.org/jira/browse/HDDS-5379
> Project: Apache Ozone
> Issue Type: Sub-task
> Reporter: Siyao Meng
> Assignee: Yuan Gu
> Priority: Major
>
> Because we are intending to add a new CF to the Recon container DB, the
> existing ContainerDBServiceProvider must be refactored to resolve conflict
> with a new service provider sharing the same RDB as the current one directly
> operates on the DB not just the CF/tables.
> # Refactor ContainerDBServiceProvider into something not directly related to
> the underlying RDB
> # Use a new ReconDBStore instead of containerDbStore in
> ContainerDBServiceProviderImpl
> # Rename ContainerDBServiceProvider/ContainerDBServiceProviderImpl into sth
> more appropriate
> # Combined ReconRocksDB and ReconDBProvider into one class, which manages
> all db-level operations.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]