mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
Correctly pass arangodb driver Transaction ID into the context (#3586)
Update arangodb_store.go
This commit is contained in:
parent
8c5759a06d
commit
3621987727
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue