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: prevent an infinite loop in measurementFieldSetChangeMgr (#25155) #25156

Merged
merged 1 commit into from
Jul 13, 2024

Conversation

davidby-influx
Copy link
Contributor

The measurementFieldSetChangeMgr has a possibly infinite loop if the writeRequests channel is closed while in the inner loop to consolidate write requests. We need to check for ok on channel receive and exit the loop when ok is false.

closes #25151

(cherry picked from commit 176fca2)

closes #25153

The measurementFieldSetChangeMgr has a possibly infinite loop
if the writeRequests channel is closed while in the inner
loop to consolidate write requests. We need to check for ok
on channel receive and exit the loop when ok is false.

closes #25151

(cherry picked from commit 176fca2)

closes #25153
@davidby-influx davidby-influx merged commit 031f394 into main-2.x Jul 13, 2024
25 checks passed
@davidby-influx davidby-influx deleted the DSB_channel_close_main2 branch July 13, 2024 03:34
davidby-influx added a commit that referenced this pull request Jul 15, 2024
#25156)

The measurementFieldSetChangeMgr has a possibly infinite loop
if the writeRequests channel is closed while in the inner
loop to consolidate write requests. We need to check for ok
on channel receive and exit the loop when ok is false.

closes #25151

(cherry picked from commit 176fca2)

closes #25153

(cherry picked from commit 031f394)

closes #25154
davidby-influx added a commit that referenced this pull request Jul 16, 2024
#25156) (#25164)

The measurementFieldSetChangeMgr has a possibly infinite loop
if the writeRequests channel is closed while in the inner
loop to consolidate write requests. We need to check for ok
on channel receive and exit the loop when ok is false.

closes #25151

(cherry picked from commit 176fca2)

closes #25153

(cherry picked from commit 031f394)

closes #25154
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants