mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
lib/logstorage: fix panic (#4620)
This commit is contained in:
parent
09cc17a6b1
commit
3d0f846a79
1 changed files with 3 additions and 3 deletions
|
@ -37,6 +37,9 @@ const maxInmemoryPartsPerPartition = 20
|
|||
|
||||
// datadb represents a database with log data
|
||||
type datadb struct {
|
||||
// mergeIdx is used for generating unique directory names for parts
|
||||
mergeIdx uint64
|
||||
|
||||
inmemoryMergesTotal uint64
|
||||
inmemoryActiveMerges uint64
|
||||
fileMergesTotal uint64
|
||||
|
@ -45,9 +48,6 @@ type datadb struct {
|
|||
// pt is the partition the datadb belongs to
|
||||
pt *partition
|
||||
|
||||
// mergeIdx is used for generating unique directory names for parts
|
||||
mergeIdx uint64
|
||||
|
||||
// path is the path to the directory with log data
|
||||
path string
|
||||
|
||||
|
|
Loading…
Reference in a new issue