From 5eb9e736b3935264c010afd5e0d50e5b9c8c7575 Mon Sep 17 00:00:00 2001 From: hillium Date: Thu, 26 Dec 2024 17:44:15 +0800 Subject: [PATCH] justify some comment expressions Signed-off-by: hillium --- pkg/brpb/brpb.pb.go | 4 ++-- proto/brpb.proto | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pkg/brpb/brpb.pb.go b/pkg/brpb/brpb.pb.go index a2d753481..350b44d68 100644 --- a/pkg/brpb/brpb.pb.go +++ b/pkg/brpb/brpb.pb.go @@ -4685,10 +4685,10 @@ func (m *LogFileSubcompactions) GetSubcompactions() []*LogFileSubcompaction { type LogFileCompaction struct { // The selector of compaction source. - // Files contains ANY record greater than this will be selected. + // Files contains ANY record greater than this (and less than `until_ts`) will be selected. CompactionFromTs uint64 `protobuf:"varint,1,opt,name=compaction_from_ts,json=compactionFromTs,proto3" json:"compaction_from_ts,omitempty"` // The selector of compaction source. - // Files contains ANY record less than this will be selected. + // Files contains ANY record less than this (and not less than `until_ts`) will be selected. CompactionUntilTs uint64 `protobuf:"varint,2,opt,name=compaction_until_ts,json=compactionUntilTs,proto3" json:"compaction_until_ts,omitempty"` // The user provided name for the compaction. Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` diff --git a/proto/brpb.proto b/proto/brpb.proto index d39110731..050d57d98 100644 --- a/proto/brpb.proto +++ b/proto/brpb.proto @@ -853,10 +853,10 @@ message LogFileSubcompactions { message LogFileCompaction { // The selector of compaction source. - // Files contains ANY record greater than this will be selected. + // Files contains ANY record greater than this (and less than `until_ts`) will be selected. uint64 compaction_from_ts = 1; // The selector of compaction source. - // Files contains ANY record less than this will be selected. + // Files contains ANY record less than this (and not less than `until_ts`) will be selected. uint64 compaction_until_ts = 2; // The user provided name for the compaction. string name = 3;