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 i/o timeout error #16

Merged
merged 6 commits into from
Apr 7, 2020

Conversation

denis-tingaikin
Copy link
Member

@denis-tingaikin denis-tingaikin commented Apr 6, 2020

Description

For real cases, one fail attempt to connect may not guarantee that the upstream server is broken.
We also need to handle the case when the server is busy.

Motivation

#14

Signed-off-by: denis-tingajkin <denis.tingajkin@xored.com>
Signed-off-by: denis-tingajkin <denis.tingajkin@xored.com>
Signed-off-by: denis-tingajkin <denis.tingajkin@xored.com>
@snakwu
Copy link

snakwu commented Apr 6, 2020

需要添加attempt-count参数来解决i/o time?

Signed-off-by: denis-tingajkin <denis.tingajkin@xored.com>
@denis-tingaikin
Copy link
Member Author

@snakwu I've added clarification. Please check README.md change.

@denis-tingaikin denis-tingaikin changed the title Fix i/o timeout Fix i/o timeout error Apr 6, 2020
fanout.go Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
@snakwu
Copy link

snakwu commented Apr 6, 2020

@snakwu I've added clarification. Please check README.md change.

那我需要怎么配置这个参数?

@denis-tingaikin
Copy link
Member Author

@snakwu
I think you will not need to add something to your config. Default values should be enough(i.e. after this PR will be merged your problem will be solved).

@snakwu
Copy link

snakwu commented Apr 6, 2020

@snakwu
I think you will not need to add something to your config. Default values should be enough(i.e. after this PR will be merged your problem will be solved).

ok,thx!等待合并中,之前提到的except算法问题,有消息么?我自己对比过修改forward为map模式,效果肯明显!

add `timeout` option.

Signed-off-by: denis-tingajkin <denis.tingajkin@xored.com>
Signed-off-by: denis-tingajkin <denis.tingajkin@xored.com>
@snakwu
Copy link

snakwu commented Apr 6, 2020

为什么还没合并??

@snakwu
Copy link

snakwu commented Apr 7, 2020

@haiodo pls PR this,thx!

@snakwu
Copy link

snakwu commented Apr 7, 2020

@denis-tingajkin 为什么一直没合并,我期待着测试,谢谢!

@haiodo haiodo merged commit 47a5b58 into networkservicemesh:master Apr 7, 2020
@denis-tingaikin denis-tingaikin mentioned this pull request Apr 7, 2020
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.

None yet

3 participants