Skip to content
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

Merged

Conversation

chyezh
Copy link
Contributor

@chyezh chyezh commented Oct 22, 2024

issue: #36804

@sre-ci-robot sre-ci-robot added the size/M Denotes a PR that changes 30-99 lines. label Oct 22, 2024
@mergify mergify bot added dco-passed DCO check passed. kind/bug Issues or changes related a bug labels Oct 22, 2024
Name: "append_message_duration_seconds",
Help: "Duration of wal append message",
Buckets: secondsBuckets,
}, WALChannelLabelName, StatusLabelName)

WALImplsAppendMessageDurationSeconds = newStreamingNodeHistogramVec(prometheus.HistogramOpts{
WALImplsAppendMessageDurationSeconds = newWALHistogramVec(prometheus.HistogramOpts{
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wrong metric subsystem, fixed

Copy link
Contributor

mergify bot commented Oct 22, 2024

@chyezh E2e jenkins job failed, comment /run-cpu-e2e can trigger the job again.

@chyezh
Copy link
Contributor Author

chyezh commented Oct 22, 2024

/run-cpu-e2e

@chyezh chyezh force-pushed the fix_allocation_policy_wrong_using branch 2 times, most recently from b3349ab to 1a7a167 Compare October 22, 2024 11:29
Signed-off-by: chyezh <chyezh@outlook.com>
@chyezh chyezh force-pushed the fix_allocation_policy_wrong_using branch from 1a7a167 to 9e4982a Compare October 23, 2024 02:09
@mergify mergify bot added the ci-passed label Oct 23, 2024
@@ -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() {
Copy link
Contributor Author

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.

@jaime0815
Copy link
Contributor

/lgtm

@sre-ci-robot
Copy link
Contributor

[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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@sre-ci-robot sre-ci-robot merged commit f3d9d05 into milvus-io:master Oct 23, 2024
16 of 17 checks passed
@chyezh chyezh deleted the fix_allocation_policy_wrong_using branch October 23, 2024 08:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved ci-passed dco-passed DCO check passed. kind/bug Issues or changes related a bug lgtm size/M Denotes a PR that changes 30-99 lines.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants