-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: use binlog counter to trigger flush but not stats log #37037
fix: use binlog counter to trigger flush but not stats log #37037
Conversation
Name: "append_message_duration_seconds", | ||
Help: "Duration of wal append message", | ||
Buckets: secondsBuckets, | ||
}, WALChannelLabelName, StatusLabelName) | ||
|
||
WALImplsAppendMessageDurationSeconds = newStreamingNodeHistogramVec(prometheus.HistogramOpts{ | ||
WALImplsAppendMessageDurationSeconds = newWALHistogramVec(prometheus.HistogramOpts{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wrong metric subsystem, fixed
@chyezh E2e jenkins job failed, comment |
/run-cpu-e2e |
b3349ab
to
1a7a167
Compare
Signed-off-by: chyezh <chyezh@outlook.com>
1a7a167
to
9e4982a
Compare
@@ -161,10 +161,12 @@ func sealL1SegmentByLifetime(lifetime time.Duration) segmentSealPolicyFunc { | |||
func sealL1SegmentByBinlogFileNumber(maxBinlogFileNumber int) segmentSealPolicyFunc { | |||
return func(segment *SegmentInfo, ts Timestamp) (bool, string) { | |||
logFileCounter := 0 | |||
for _, fieldBinlog := range segment.GetStatslogs() { | |||
for _, fieldBinlog := range segment.GetBinlogs() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After stats task enabled, the statslog
cannot be used here.
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED Approval requirements bypassed by manually added approval. This pull-request has been approved by: chyezh The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
issue: #36804