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

Correctly pass arangodb driver Transaction ID into the context #3586

Merged
merged 1 commit into from
Sep 5, 2022

Conversation

gfxlabs
Copy link
Contributor

@gfxlabs gfxlabs commented Sep 5, 2022

What problem are we solving?

Transactions currently fail in arangodb filer store, as the underlying driver needs a context key in order for its queries to know that they should be included in the transaction. (they are performed, however they time out)

the underlying driver package does not provide a reliable method to extract the transaction id from the context, and so I am not removing the existing context key that is being added, it will be required for commit, rollback etc.

How are we solving the problem?

add the transaction id to the context using driver.WithTransactionID

@gfxlabs gfxlabs changed the title Correctly pass transaction ID into the context Correctly pass arangodb Transaction ID into the context Sep 5, 2022
@gfxlabs gfxlabs changed the title Correctly pass arangodb Transaction ID into the context Correctly pass arangodb driver Transaction ID into the context Sep 5, 2022
@chrislusf chrislusf merged commit 3621987 into seaweedfs:master Sep 5, 2022
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

2 participants