influxdata / influxdata/kapacitor

Post Config API block until timeoutUpdateReached

Open
#2,220 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
2.4k
Forks
479
Avg merge
4d 16h
Merged PRs (30d)
4

Description

Due to a blocking chan http post (update) config api doesn't work.
It seems that code is written to make tests working.
I don't understand this part of code:
https://github.com/influxdata/kapacitor/blob/master/services/config/service.go#L261-L282

Contributor guide

Open the contributing guide

Research direction

Start by reading services/config/service.go around lines 261-282, then trace the blocking channel used by the HTTP POST config update and how timeoutUpdateReached is involved. Reproduce the reported behavior and determine what completion condition the API should use; done means the POST config API no longer blocks unexpectedly while the relevant timeout behavior remains covered.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
api, backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.