You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by GitBox <gi...@apache.org> on 2021/01/25 17:15:34 UTC

[GitHub] [nifi] JonathanKessler commented on pull request #3923: NIFI-6866 Created the RocksDBComponentStatusRepository to persist com…

JonathanKessler commented on pull request #3923:
URL: https://github.com/apache/nifi/pull/3923#issuecomment-766970172


   > @JonathanKessler This is a really neat ticket/PR request that many nifi admins will find invaluable (I know I would have many times in the past).
   > 
   > I was kicking the tires with this and it certainly persists the processors' history - even through a restart. But I noticed that the log file continues to grow - even after the "timespan" it covers has been reached.
   > 
   > So for instance, with
   > buffer.size at 100 and snapshot.frequency is 5 seconds
   > the log file should level off in size after 500 seconds,
   > but it continues to grow
   > 
   > Could this be looked at?
   
   Nissim, great catch. There are a number of config options for RocksDB built into the RocksDBMetronome.java class which is kind of a helper/builder. The RocksDBFlowFileRepository allows for all of those options to be set but my implementation does not. I will update my code to allow those to be set using different property names than what the RocksDBFlowfileRepository uses of course.
   
   FYI there appears to be a limit for log file growth that is 1G by default.


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

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