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

Drop legacy anonymous statement #6576

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Drop legacy anonymous statement #6576

wants to merge 1 commit into from

Conversation

fantix
Copy link
Member

@fantix fantix commented Dec 6, 2023

The reason it was kept is explained in #3120, mitigated in #3814 #3837. But the core issue that compiler assumes mutation of transaction state for any compilation even by Parse message still exists. We can drop the _last_anon_compiled because the client bindings are no longer sending Parse + Execute for commit or rollback commands (which triggered two server compilation of the same command) like edgedb/edgedb-python#337. However, we still need to double check all bindings to make sure the transaction control commands are using only one Execute message.

  • JS
  • Deno
  • Python
  • .NET
  • Java
  • Go
  • Elixir
  • Dart
  • Rust

The reason it was kept is explained in #3120, mitigated in #3814 #3837.
But the core issue that compiler assumes mutation of transaction state
for any compilation even by Parse message still exists. We can drop the
`_last_anon_compiled` because the client bindings are no longer sending
Parse + Execute for `commit` or `rollback` commands (which triggered two
server compilation of the same command) like edgedb/edgedb-python#337.
However, we still need to double check all bindings to make sure the
transaction control commands are using only one `Execute` message.
fmoor added a commit to edgedb/edgedb-go that referenced this pull request Mar 1, 2024
fmoor added a commit to edgedb/edgedb-go that referenced this pull request Mar 1, 2024
fmoor added a commit to edgedb/edgedb-go that referenced this pull request Mar 1, 2024
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.

None yet

1 participant