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 single location updates to be linearizable and tweak internals #128

Merged
merged 1 commit into from
Dec 10, 2023

Conversation

polytypic
Copy link
Collaborator

@polytypic polytypic commented Aug 17, 2023

This tweaks the internal descriptor representation to be slightly more compact.

This also fixes single location updates to be linearizable with respect to multi-location updates. In case of single-location updates, an internal eval operation didn't properly wait for a transaction operating on the location to be finished before updating the location. This was revealed by the Accumulator STM test.

@polytypic polytypic force-pushed the tweak-attempts branch 12 times, most recently from bc3a5f7 to 87c7f69 Compare December 10, 2023 10:30
@polytypic polytypic changed the title WIP: Attempts to tweak internals Tweak internals and fix internal eval to be linearizable Dec 10, 2023
@polytypic polytypic marked this pull request as ready for review December 10, 2023 10:31
@polytypic polytypic force-pushed the tweak-attempts branch 5 times, most recently from 1c7542e to d9c5e01 Compare December 10, 2023 12:01
@polytypic polytypic changed the title Tweak internals and fix internal eval to be linearizable Fix single location updates to be linerizable and tweak internals Dec 10, 2023
@polytypic polytypic changed the title Fix single location updates to be linerizable and tweak internals Fix single location updates to be linearizable and tweak internals Dec 10, 2023
Internal `eval` operation didn't properly wait for a transaction operating on
the location to be finished before updating the location.

This also tweaks the internal descriptor representation to be slightly more
compact.
@polytypic polytypic merged commit 40ad1fb into main Dec 10, 2023
3 checks passed
@polytypic polytypic deleted the tweak-attempts branch December 10, 2023 13:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant