mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-11 14:53:49 +00:00
f9d86a913c
Partition directories can be manually deleted and copied from another sources such as backups or other VitoriaLogs instances.
In this case the persisted cache becomes out of sync with partitions. This can result in missing index entries
during data ingestion or in incorrect results during querying. So it is better to do not persist caches.
This shouldn't hurt VictoriaLogs performance just after the restart too much, since its caches usually contain
small amounts of data, which can be quickly re-populated from the persisted data.
(cherry picked from commit 8aa144fa74
)
23 lines
771 B
Go
23 lines
771 B
Go
package logstorage
|
|
|
|
const (
|
|
columnNamesFilename = "column_names.bin"
|
|
metaindexFilename = "metaindex.bin"
|
|
indexFilename = "index.bin"
|
|
columnsHeaderIndexFilename = "columns_header_index.bin"
|
|
columnsHeaderFilename = "columns_header.bin"
|
|
timestampsFilename = "timestamps.bin"
|
|
oldValuesFilename = "field_values.bin"
|
|
oldBloomFilename = "field_bloom.bin"
|
|
valuesFilename = "values.bin"
|
|
bloomFilename = "bloom.bin"
|
|
messageValuesFilename = "message_values.bin"
|
|
messageBloomFilename = "message_bloom.bin"
|
|
|
|
metadataFilename = "metadata.json"
|
|
partsFilename = "parts.json"
|
|
|
|
indexdbDirname = "indexdb"
|
|
datadbDirname = "datadb"
|
|
partitionsDirname = "partitions"
|
|
)
|