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

Add support for `discover` method to `StateLifecycleManagerImpl`

Open
#18,096 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
406
Forks
226
Avg merge
3d 4h
Merged PRs (30d)
210

Description

We may need the following method to discover snapshots in a given directory
```
/**
* Returns a list of paths to snapshots discovered in the specified directory.
*
* @param sourcePath the path to the directory
* @return a list of paths to snapshots
*/
public static List discover(Path sourcePath) {
// implementation
}
```

Contributor guide

Open the contributing guide

Research direction

Start by locating StateLifecycleManagerImpl and reading its existing snapshot lifecycle methods. Determine which files define snapshot storage and whether tests cover discovery; the issue does not specify the snapshot naming or filtering rules, so clarify those expectations before implementing and testing discover(Path).

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
distributed-systems
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.