mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
lib/storage: add comment for how mustBeDeleted
field should be used (#4454)
Signed-off-by: hagen1778 <roman@victoriametrics.com>
This commit is contained in:
parent
c8f9fab3cb
commit
f50f35a8e0
1 changed files with 2 additions and 0 deletions
|
@ -168,6 +168,8 @@ type partWrapper struct {
|
|||
refCount uint32
|
||||
|
||||
// The flag, which is set when the part must be deleted after refCount reaches zero.
|
||||
// This field should be updated only after partWrapper
|
||||
// was removed from the list of active parts.
|
||||
mustBeDeleted uint32
|
||||
|
||||
// The part itself.
|
||||
|
|
Loading…
Reference in a new issue