Skip to content

Conversation

@ericstj
Copy link
Member

@ericstj ericstj commented Dec 21, 2023

No description provided.

@ericstj ericstj added the ** NO MERGE ** Testing PR only, do not merge label Dec 21, 2023
@ghost ghost assigned ericstj Dec 21, 2023
Asserting on `_rowCount <  Utils.Size(_valueBoundaries)` was catching a
case where `_rowCount`'s update was reordered before `_valueBoundaries`

This was unnecessary, since this method doesn't need to use `_rowCount`.

Instead, make the asserts use only `idx` which will be maintained
consistent with the waiter logic in this cache.
�Ensure we only ever use `_rowCount` from the caching thread, so write
reordering won't matter.
@ericstj
Copy link
Member Author

ericstj commented Dec 21, 2023

Looks like this worked - didn't assert on idx. Will rebase and submit a real PR.

@ericstj ericstj closed this Dec 21, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Jan 21, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

** NO MERGE ** Testing PR only, do not merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant