Skip to content

quincy: rgw: address crash and race in RGWIndexCompletionManager - #50538

Merged
smanjara merged 1 commit into
ceph:quincyfrom
k0ste:wip-55502-quincy
Aug 6, 2024
Merged

smanjara merged 1 commit into
ceph:quincyfrom
k0ste:wip-55502-quincy

Conversation

@k0ste

@k0ste k0ste commented Mar 15, 2023

Copy link
Copy Markdown
Contributor

@github-actions github-actions Bot added the rgw label Mar 15, 2023
@github-actions github-actions Bot added this to the quincy milestone Mar 15, 2023
@k0ste
k0ste force-pushed the wip-55502-quincy branch from 3c9ca7e to 889e22e Compare April 26, 2023 07:44
@k0ste

k0ste commented Apr 26, 2023

Copy link
Copy Markdown
Contributor Author

needs-qa

@idryomov idryomov modified the milestones: quincy, v17.2.8 Jun 5, 2024
An atomic int was used in a modulo operator to distribute contention
among a set of locks and to track completions. Because it was an int,
enough increments would cause it to go negative (due to
twos-complement encoding and overflow) thereby causing a
crash. Additionally, even though it was atomic, the read and increment
were separate operations, leading to a race.

This commit addresses both of these issues.

Signed-off-by: J. Eric Ivancich <[email protected]>
(cherry picked from commit 41f4e83)
@yuriw

yuriw commented Aug 6, 2024

Copy link
Copy Markdown
Contributor

jenkins test make check

@yuriw

yuriw commented Aug 6, 2024

Copy link
Copy Markdown
Contributor

@smanjara
smanjara merged commit b142641 into ceph:quincy Aug 6, 2024
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.

7 participants