diff options
| author | gfx <86091021+gfxlabs@users.noreply.github.com> | 2022-09-04 21:29:52 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-09-04 19:29:52 -0700 |
| commit | 36219877274e70cfe5df6a027b2ddf5ed4b65cc8 (patch) | |
| tree | 1b69f1e03f5575c3a69e4315d417b7ebd1386322 | |
| parent | 8c5759a06dbe30faa97ede493680e3e38969064f (diff) | |
| download | seaweedfs-36219877274e70cfe5df6a027b2ddf5ed4b65cc8.tar.xz seaweedfs-36219877274e70cfe5df6a027b2ddf5ed4b65cc8.zip | |
Correctly pass arangodb driver Transaction ID into the context (#3586)
Update arangodb_store.go
| -rw-r--r-- | weed/filer/arangodb/arangodb_store.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/filer/arangodb/arangodb_store.go b/weed/filer/arangodb/arangodb_store.go index 75e65f7e0..25ef60bf0 100644 --- a/weed/filer/arangodb/arangodb_store.go +++ b/weed/filer/arangodb/arangodb_store.go @@ -121,7 +121,7 @@ func (store *ArangodbStore) BeginTransaction(ctx context.Context) (context.Conte return nil, err } - return context.WithValue(ctx, transactionKey, txn), nil + return context.WithValue(driver.WithTransactionID(ctx, txn), transactionKey, txn), nil } func (store *ArangodbStore) CommitTransaction(ctx context.Context) error { |
