lib/storage: add comment for how mustBeDeleted field should be used (#4454)

Signed-off-by: hagen1778 <roman@victoriametrics.com>
This commit is contained in:
Roman Khavronenko 2023-06-15 11:17:45 +02:00 committed by Aliaksandr Valialkin
parent 3937da289a
commit 09c05608f2
No known key found for this signature in database
GPG key ID: A72BEC6CD3D0DED1

View file

@ -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.