Skip to content

Conversation

@echonesis
Copy link
Contributor

What changes were proposed in this pull request?

This PR refactors the snapshot compaction tracking mechanism by replacing SnapshotCompactionDag with a new flush-based tracking system using FlushLinkedList and related components.

Major changes:

  • Removed: CompactionDag and CompactionNode classes that tracked compaction operations in a DAG structure
  • Added: Flush tracking system:
    • FlushLinkedList: Tracks flush operations in a linked list structure
    • FlushNode: Represents a single flush operation with snapshot generation metadata
    • FlushLogEntry: DAO for writing flush log entries to the flush log table
    • FlushFileInfo: Metadata for flushed SST files

What is the link to the Apache JIRA

https://issues.apache.org/jira/browse/HDDS-13874

How was this patch tested?

GitHub Actions CI: https://github.com/echonesis/ozone/actions/runs/21389340168

@adoroszlai adoroszlai added the snapshot https://issues.apache.org/jira/browse/HDDS-6517 label Jan 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

snapshot https://issues.apache.org/jira/browse/HDDS-6517

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants