mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-25 20:00:06 +01: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
)
24 lines
771 B
Go
24 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"
|
|
)
|