Skip to content

Commit db1211a

Browse files
committed
update comment
1 parent 8d5938f commit db1211a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/core/compact_object.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -534,16 +534,16 @@ class CompactObj {
534534
union {
535535
uint8_t mask_ = 0;
536536
struct {
537-
uint8_t ref : 1; // Mark objects that have expiry timestamp assigned.
538-
uint8_t expire : 1;
537+
uint8_t ref : 1; // Mark objects that don't own their allocation.
538+
uint8_t expire : 1; // Mark objects that have expiry timestamp assigned.
539539
uint8_t mc_flag : 1; // Marks keys that have memcache flags assigned.
540540

541541
// See the EncodingEnum for the meaning of these bits.
542542
uint8_t encoding : 2;
543543

544544
// IO_PENDING is set when the tiered storage has issued an i/o request to save the value.
545545
// It is cleared when the io request finishes or is cancelled.
546-
uint8_t io_pending : 1; // also serves as async-delete for keys.
546+
uint8_t io_pending : 1;
547547
uint8_t sticky : 1;
548548

549549
// TOUCHED used to determin which items are hot/cold.

0 commit comments

Comments
 (0)