mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
lib/mergeset: add comment for how mustBeDeleted
field should be used (#4449)
Signed-off-by: hagen1778 <roman@victoriametrics.com>
This commit is contained in:
parent
7a92263459
commit
f71cc99a8c
1 changed files with 3 additions and 0 deletions
|
@ -274,6 +274,9 @@ type partWrapper struct {
|
|||
|
||||
refCount uint32
|
||||
|
||||
// mustBeDeleted marks partWrapper for deletion.
|
||||
// This field should be updated only after partWrapper
|
||||
// was removed from the list of active parts.
|
||||
mustBeDeleted uint32
|
||||
|
||||
isInMerge bool
|
||||
|
|
Loading…
Reference in a new issue