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

Mark the session state clean upon init #1744

Merged
merged 1 commit into from
May 23, 2021
Merged

Mark the session state clean upon init #1744

merged 1 commit into from
May 23, 2021

Conversation

zachmu
Copy link
Member

@zachmu zachmu commented May 22, 2021

I don't love this... it's meant to address this failure in dolthub:

https://github.com/dolthub/ld/pull/6605

Read-only is also kind of a bad name, it still writes to the chunk store if you issue a write query, it just won't call WriteRootValue when a transaction is committed

Thoughts?

@zachmu zachmu requested a review from reltuk May 22, 2021 00:25
@zachmu zachmu changed the title Read only bit for sessions Mark the session state clean upon init May 23, 2021
@zachmu
Copy link
Member Author

zachmu commented May 23, 2021

Simpler solution: don't mark the session dirty upon init

@zachmu zachmu merged commit 8e0881b into master May 23, 2021
@Hydrocharged Hydrocharged deleted the zachmu/read-only-tx branch May 31, 2021 06:13
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