Skip to content
This repository was archived by the owner on Apr 2, 2026. It is now read-only.

enhance: Always retry writing binlogs (#46850)#12

Merged
Xinyi7 merged 1 commit intofeatures/v2.6.6-patched-251123from
cherry-pick-s3-change
Jan 8, 2026
Merged

enhance: Always retry writing binlogs (#46850)#12
Xinyi7 merged 1 commit intofeatures/v2.6.6-patched-251123from
cherry-pick-s3-change

Conversation

@Xinyi7
Copy link
Copy Markdown

@Xinyi7 Xinyi7 commented Jan 7, 2026

issue: milvus-io#46848

Closes #

💸 TL;DR

📜 Details

Design Doc

Jira

🧪 Testing Steps / Validation

✅ Checks

  • CI tests (if present) are passing
  • Adheres to code style for repo
  • Contributor License Agreement (CLA) completed if not a Reddit employee

issue: milvus-io#46848

Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
@Xinyi7 Xinyi7 requested a review from kumaramit01 January 7, 2026 23:35
assert.Equal(t, 16*1024*1024, Params.ImportBaseBufferSize.GetAsInt())
assert.Equal(t, 16*1024*1024, Params.ImportDeleteBufferSize.GetAsInt())
assert.Equal(t, 10.0, Params.ImportMemoryLimitPercentage.GetAsFloat())
assert.Equal(t, 0, Params.ImportMaxWriteRetryAttempts.GetAsInt())
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Set the default to something reasonable -by default we should just retry forever...

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I meant shouldn't...

Copy link
Copy Markdown
Author

@Xinyi7 Xinyi7 Jan 8, 2026

Choose a reason for hiding this comment

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

this is only for import binlog writes in datanode. we could set timeout for the import job or manually kill the job if we want

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

This is pretty dangerous... -but I don;t think there is an easy solution for now.

@Xinyi7 Xinyi7 requested a review from kumaramit01 January 8, 2026 20:25
@Xinyi7 Xinyi7 merged commit d084a32 into features/v2.6.6-patched-251123 Jan 8, 2026
8 of 14 checks passed
@Xinyi7 Xinyi7 mentioned this pull request Jan 9, 2026
3 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants