lib/mergeset: add comment for how mustBeDeleted field should be used (#4449)

Signed-off-by: hagen1778 <roman@victoriametrics.com>
This commit is contained in:
Roman Khavronenko 2023-06-14 18:13:16 +02:00 committed by GitHub
parent 7a92263459
commit f71cc99a8c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -274,6 +274,9 @@ type partWrapper struct {
refCount uint32 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 mustBeDeleted uint32
isInMerge bool isInMerge bool