[ 
https://issues.apache.org/jira/browse/HDDS-7559?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Siyao Meng updated HDDS-7559:
-----------------------------
    Description: 
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) -- This jira.

2. Track only the relevant tables' SSTs (keyTable, fileTable, directoryTable), 
ignoring others -- possibly with some checks by calling RDB APIs. -- HDDS-8196

  was:
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)

2. Track only the relevant tables' SSTs (keyTable, fileTable, directoryTable), 
ignoring others -- possibly with some checks by calling RDB APIs. -- HDDS-8196


> [Snapshot] Skip compaction tracking when no Ozone snapshot exists
> -----------------------------------------------------------------
>
>                 Key: HDDS-7559
>                 URL: https://issues.apache.org/jira/browse/HDDS-7559
>             Project: Apache Ozone
>          Issue Type: Sub-task
>            Reporter: Siyao Meng
>            Assignee: Siyao Meng
>            Priority: Major
>
> 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) -- This jira.
> 2. Track only the relevant tables' SSTs (keyTable, fileTable, 
> directoryTable), ignoring others -- possibly with some checks by calling RDB 
> APIs. -- HDDS-8196



--
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