go-graphite / buckytools

Go implementation of useful tools for dealing with Graphite's Whisper DBs and Carbon hashing
Other
19 stars 8 forks source link

Added usage of file Trie Index cache file from Go carbon #46

Closed auguzun closed 1 year ago

auguzun commented 1 year ago

In order to avoid buckyd to check all whisper file to collect the list of all metrics on the server I added support for Index Trie file cache which is created in Go carbon every file scan and used for Trie index recreation in case of failure. If file cache doesn't exist or it is corrupted buckyd would fallback to whisper files scan