You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by GitBox <gi...@apache.org> on 2022/09/13 15:14:05 UTC
[GitHub] [incubator-devlake] likyh opened a new issue, #3061: [Feature][api-client] wait more time to prevent long-time collection canceled by network problem
likyh opened a new issue, #3061:
URL: https://github.com/apache/incubator-devlake/issues/3061
### Search before asking
- [X] I had searched in the [issues](https://github.com/apache/incubator-devlake/issues?q=is%3Aissue) and found no similar feature requirement.
### Description
Wait more time to prevent long-time collection cancelled by network problems.
Some users' Jira server or other data source servers may deploy so far with DevLake. It may cause request to fail because of a network error when collecting data, and then DevLake needs to take lots of time to restart collection several times if the network is instability.
Consecutive retry cannot handle this situation because network instability may exist for several seconds.
So, I prefer to add another retry function to handle this situation.
It will stop other workers and request base endpoint to confirm if the network is ok. This network retry function will request base endpoint immediately after other worker fails more than 3 times. If a network problem exists, it will check the network serially and wait for `power(retryTime, 2)` seconds before the next retry.
### Use case
_No response_
### Related issues
now retry like this: #3054
### Are you willing to submit a PR?
- [X] Yes I am willing to submit a PR!
### Code of Conduct
- [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-devlake] github-actions[bot] closed issue #3061: [Feature][api-client] wait more time to prevent long-time collection canceled by network problem
Posted by GitBox <gi...@apache.org>.
github-actions[bot] closed issue #3061: [Feature][api-client] wait more time to prevent long-time collection canceled by network problem
URL: https://github.com/apache/incubator-devlake/issues/3061
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-devlake] github-actions[bot] commented on issue #3061: [Feature][api-client] wait more time to prevent long-time collection canceled by network problem
Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #3061:
URL: https://github.com/apache/incubator-devlake/issues/3061#issuecomment-1278318910
This issue has been automatically marked as stale because it has not had recent activity for 30 days. It will be closed in next 7 days if no further activity occurs.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-devlake] github-actions[bot] commented on issue #3061: [Feature][api-client] wait more time to prevent long-time collection canceled by network problem
Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #3061:
URL: https://github.com/apache/incubator-devlake/issues/3061#issuecomment-1317863713
This issue has been automatically marked as stale because it has not had recent activity for 30 days. It will be closed in next 7 days if no further activity occurs.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [incubator-devlake] github-actions[bot] commented on issue #3061: [Feature][api-client] wait more time to prevent long-time collection canceled by network problem
Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #3061:
URL: https://github.com/apache/incubator-devlake/issues/3061#issuecomment-1326906845
This issue has been closed because it has not received response for too long time. You could reopen it if you encountered similar problems in the future.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@devlake.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org