Skip to content

refactor(db): unify database engine initialization#6421

Merged
kuny0707 merged 1 commit intotronprotocol:release_v4.8.1from
halibobo1205:arch/arm64
Aug 21, 2025
Merged

refactor(db): unify database engine initialization#6421
kuny0707 merged 1 commit intotronprotocol:release_v4.8.1from
halibobo1205:arch/arm64

Conversation

@halibobo1205
Copy link
Contributor

@halibobo1205 halibobo1205 commented Aug 15, 2025

What does this PR do?
Unify database engine initialization.
Why are these changes required?

  • Consolidate duplicate engine initialization logic from two separate classes into a single unified method
  • Enhance LevelDB/RocksDB compatibility detection with clearer error messages
  • Improve error handling for directory/file creation failures

This PR has been tested by:

  • Unit Tests
  • Manual Testing

Follow up

Extra details

- Consolidate duplicate engine initialization logic from two separate classes into a single unified method
- Enhance LevelDB/RocksDB compatibility detection with clearer error messages
- Improve error handling for directory/file creation failures
@kuny0707 kuny0707 merged commit d6ad738 into tronprotocol:release_v4.8.1 Aug 21, 2025
7 checks passed
@kuny0707 kuny0707 linked an issue Aug 25, 2025 that may be closed by this pull request
17 tasks
warku123 pushed a commit to warku123/java-tron that referenced this pull request Feb 6, 2026
- Consolidate duplicate engine initialization logic from two separate classes into a single unified method
- Enhance LevelDB/RocksDB compatibility detection with clearer error messages
- Improve error handling for directory/file creation failures
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Expand ARM Architecture Compatibility

5 participants