[
https://issues.apache.org/jira/browse/HDDS-9155?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Wei-Chiu Chuang resolved HDDS-9155.
-----------------------------------
Resolution: Implemented
Resolving as implemented. SSTFilteringService no longer limits filtering to
keyTable/fileTable/directoryTable: it obtains the metadata manager's
TablePrefixInfo and passes it to RocksDatabase.deleteFilesNotMatchingPrefix().
The prefix map covers 12 bucket-related tables, including deleted,
open-key/open-file, multipart, snapshot-info and snapshot-renamed tables.
RocksDatabase iterates SST metadata across column families and filters using
each column family's applicable prefix.
Evidence at d0949f291791c399f3e54409fcb92656a80597a4:
*
https://github.com/apache/ozone/blob/d0949f291791c399f3e54409fcb92656a80597a4/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/SstFilteringService.java#L223
*
https://github.com/apache/ozone/blob/d0949f291791c399f3e54409fcb92656a80597a4/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/OmMetadataManagerImpl.java#L2037
*
https://github.com/apache/ozone/blob/d0949f291791c399f3e54409fcb92656a80597a4/hadoop-hdds/framework/src/main/java/org/apache/hadoop/hdds/utils/db/RocksDatabase.java#L892
This addresses extending bucket-scoped filtering beyond the original three
tables; it does not imply dropping global/unscoped metadata tables.
> SSTFiltering service can delete SST tables for all column families
> ------------------------------------------------------------------
>
> Key: HDDS-9155
> URL: https://issues.apache.org/jira/browse/HDDS-9155
> Project: Apache Ozone
> Issue Type: Sub-task
> Reporter: Swaminathan Balachandran
> Assignee: Swaminathan Balachandran
> Priority: Major
>
> Currently SSTFiltering service runs only for key table, directory table &
> file table. The same can be performed on other column families as well.
> Reducing number of hard links for each snapshot.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]