hiero-ledger / hiero-ledger/hiero-consensus-node

Support for unlimited levels of compaction

Open
#9,291 1 comment 0 reactions 0 assignees View on GitHub
P3 Platform Tech Debt Reduced
Dominant language
Java
Stars
406
Forks
226
Avg merge
3d 4h
Merged PRs (30d)
210

Description

### Problem

Currently we have `merkleDb.maxCompactionLevel` property to specify a maximal supported compaction level for the data files. However, eventually we may come to the conclusion that we don't need these levels at all. This ticket describes changed to be done to make it happen.

### Solution

1. Remove the property from `MerkleDbConfig`
2. Update `DataFileCompactor#compact`
3. Update `MerkleDbStatistics`

### Alternatives

_No response_

Contributor guide

Open the contributing guide

Research direction

Locate MerkleDbConfig, DataFileCompactor#compact, and MerkleDbStatistics, then trace references to maxCompactionLevel and existing compaction behavior. Done means the configuration property is removed and the compactor and statistics support unlimited compaction levels consistently; check the affected tests if present.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
databases
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.