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

infinite loop in measurementFieldSetChangeMgr [Port to main-2.x] #25153

Closed
davidby-influx opened this issue Jul 12, 2024 · 0 comments
Closed

Comments

@davidby-influx
Copy link
Contributor

Port #25151 to main-2.x

@davidby-influx davidby-influx self-assigned this Jul 12, 2024
davidby-influx added a commit that referenced this issue Jul 12, 2024
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 added a commit that referenced this issue Jul 13, 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
davidby-influx added a commit that referenced this issue 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 issue 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

No branches or pull requests

1 participant