You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Siyao Meng (Jira)" <ji...@apache.org> on 2023/03/17 03:09:00 UTC
[jira] [Updated] (HDDS-8196) [Snapshot] DB listener to only track SSTs that belong to the tables of interest
[ https://issues.apache.org/jira/browse/HDDS-8196?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Siyao Meng updated HDDS-8196:
-----------------------------
Description:
This is the second part of the proposed DB listener optimization.
Context: https://github.com/apache/ozone/pull/3981#discussion_r1035170100
In the DB listeners (in RocksDBCheckpointDiffer), we could:
1. Only track the compaction when there is at least one snapshot in OM DB -- Done in HDDS-7559
2. Track only the relevant tables' SSTs (keyTable, fileTable, directoryTable), ignoring others – possibly with some checks by calling RDB APIs. -- This jira.
was:
This is the second part of the proposed DB listener optimization.
Context: https://github.com/apache/ozone/pull/3981#discussion_r1035170100
In the DB listeners (in RocksDBCheckpointDiffer), we could:
1. Only track the compaction when there is at least one snapshot in OM DB (should be easily doable when snapshot chain is implemented) -- Done in HDDS-7559
2. Track only the relevant tables' SSTs (keyTable, fileTable, directoryTable), ignoring others – possibly with some checks by calling RDB APIs. -- This jira.
> [Snapshot] DB listener to only track SSTs that belong to the tables of interest
> -------------------------------------------------------------------------------
>
> Key: HDDS-8196
> URL: https://issues.apache.org/jira/browse/HDDS-8196
> Project: Apache Ozone
> Issue Type: Sub-task
> Reporter: Siyao Meng
> Priority: Major
>
> This is the second part of the proposed DB listener optimization.
> Context: https://github.com/apache/ozone/pull/3981#discussion_r1035170100
> In the DB listeners (in RocksDBCheckpointDiffer), we could:
> 1. Only track the compaction when there is at least one snapshot in OM DB -- Done in HDDS-7559
> 2. Track only the relevant tables' SSTs (keyTable, fileTable, directoryTable), ignoring others – possibly with some checks by calling RDB APIs. -- This jira.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org