[ 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to