apache / apache/servicecomb-kie

long polling API return error

Open
#230 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
545
Forks
70
PR merge metrics
No merged PRs in 30d

Description

### 测试watch接口 预期返回304
http://127.0.0.1:30110/v1/default/kie/kv?label=app:app11446&label=func:func784&wait=60s
### 实际返回
![image](https://user-images.githubusercontent.com/19482564/143979362-bcfb0efd-4782-4b10-826e-785fc7c80b08.png)

### 不加wait 返回正常
![image](https://user-images.githubusercontent.com/19482564/143979588-16113a50-36ae-430b-8d08-81332c49b177.png)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the watch request at /v1/default/kie/kv with the shown label parameters and wait=60s, then compare it with the same request without wait. Done means the long-polling request returns the expected 304 response rather than the reported error.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
api, backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.