apache / apache/hop

[Task]: Clean up DbCache code

Open
#6,147 1 comment 0 reactions 0 assignees View on GitHub
API awaiting triage P3
Dominant language
Java
Stars
1.5k
Forks
476
Avg merge
18h 32m
Merged PRs (30d)
216

Description

### What needs to happen?

The database cache code was originally saving itself to a file called `db.cache`. However, the code to save itself is never called again. It's best to clean up this code as it is never used anyway. There's also no point in looking for the file when instantiating the cache and possibly throwing an error. So a cleanup is in order.

See also: https://github.com/apache/hop/issues/6042

### Issue Priority

Priority: 3

### Issue Component

Component: API

Contributor guide

Open the contributing guide

Research direction

Start by locating the DbCache implementation and inspect the code that reads or writes db.cache during cache instantiation. Review the related issue 6042 for context, then verify that the unused file handling is removed without leaving callers broken.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
api, database
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.