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

feat(nvmf): decrease reconnect-delay-sec to 2 seconds #137

Merged
merged 1 commit into from
Aug 9, 2024

Conversation

derekbit
Copy link
Member

@derekbit derekbit commented Aug 8, 2024

Which issue(s) this PR fixes:

Issue longhorn/longhorn#9190

What this PR does / why we need it:

Allows to re-establish the connection more quickly and prevent long stuck.

Special notes for your reviewer:

Additional documentation or context

Allows to re-establish the connection more quickly and prevent long stuck.

Longhorn 9190

Signed-off-by: Derek Su <[email protected]>
@derekbit derekbit requested review from innobead and shuo-wu August 8, 2024 16:26
@derekbit derekbit self-assigned this Aug 8, 2024
@derekbit derekbit requested a review from DamiaSan August 8, 2024 16:31
@shuo-wu
Copy link
Collaborator

shuo-wu commented Aug 8, 2024

Any specific reason for decreasing this?

@derekbit
Copy link
Member Author

derekbit commented Aug 8, 2024

5-second reconnect-delay-sec is too long before. I think we can decrease to a smaller value. If the connection recovers, the IO can continue soon.

Copy link

codecov bot commented Aug 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 23.35%. Comparing base (6a4189a) to head (601dd83).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #137   +/-   ##
=======================================
  Coverage   23.35%   23.35%           
=======================================
  Files          34       34           
  Lines        4748     4748           
=======================================
  Hits         1109     1109           
  Misses       3465     3465           
  Partials      174      174           
Flag Coverage Δ
unittests 23.35% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@shuo-wu shuo-wu merged commit d679e62 into longhorn:main Aug 9, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants