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

TypeDB 3.0: remove sessions in favor of 3 transaction types #7019

Open
flyingsilverfin opened this issue Apr 3, 2024 · 0 comments
Open

TypeDB 3.0: remove sessions in favor of 3 transaction types #7019

flyingsilverfin opened this issue Apr 3, 2024 · 0 comments
Milestone

Comments

@flyingsilverfin
Copy link
Member

Problem to Solve

TypeDB's connection model introduces needless complexity, as well as some states of questionable use (such as a schema session + read transaction).

Proposed Solution

We will simplify to use 3 transaction types directly:

  • schema - which allows schema and data manipulation, to be used to defining schema and schema+data migrations.
  • read - allow reading the data + schema in a snapshot
  • write - allows writing data and reading data + schema in a snapshot.

While a schema transaction is open, data write transactions are blocked.

@flyingsilverfin flyingsilverfin added this to the 3.0.0 milestone Apr 3, 2024
@flyingsilverfin flyingsilverfin changed the title TypeDB 3.0: Remove sessions in favor of 3 transacion types TypeDB 3.0: remove sessions in favor of 3 transacion types Apr 3, 2024
@flyingsilverfin flyingsilverfin changed the title TypeDB 3.0: remove sessions in favor of 3 transacion types TypeDB 3.0: remove sessions in favor of 3 transaction types May 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant