apache / apache/servicecomb-java-chassis
客户端超时之后,服务端依旧在进行业务处理,直到处理完业务,这个问题有啥解决方法嘛
- Dominant language
- Java
- Stars
- 1.9k
- Forks
- 814
- Avg merge
- 8d 23h
- Merged PRs (30d)
- 1
Description
现象为客户端请求1秒超时,然后服务端依旧在进行业务处理,如下图客户端设置超时时间为1S,服务端sleep 2s后进行业务处理(模拟长时间业务处理的情况),然后客户端超时之后服务端业务并未中断而是继续进行了下去


Contributor guide
No contributing guide indexed for this repository
Research direction
No source file, test, or entry point is named. Start by reproducing the attached scenario: set the client timeout to 1 second and make the server sleep for 2 seconds before processing; then trace whether the request cancellation reaches the server. Done should be defined as the server stopping or otherwise handling the abandoned request as intended.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend, distributed-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100