You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hop.apache.org by "mattcasters (via GitHub)" <gi...@apache.org> on 2025/12/08 15:32:35 UTC

[I] [Task]: Clean up DbCache code (hop)

mattcasters opened a new issue, #6147:
URL: https://github.com/apache/hop/issues/6147

   ### 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


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@hop.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Task]: Clean up DbCache code (hop)

Posted by "mattcasters (via GitHub)" <gi...@apache.org>.
mattcasters commented on issue #6147:
URL: https://github.com/apache/hop/issues/6147#issuecomment-3627530896

   The alternative is obviously to save this metadata after every call to `DbCache.put()`.  It could still make sense as saving the cache is probably 100x faster than querying the database. But in that scenario this need to happen in the audit folder under a different file for every environment that is used.  We'd also need a proper option to enable or disable this persistence. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@hop.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org