aws-beam/aws-elixir

QLDB Commit Transaction

Opened this issue · 2 comments

Following the steps I followed but was not able to commit the qldb transaction using send comment function.

  • Started the session
  • Created the transaction
  • Execute the statement
  • Get the digest
  • Commit the transaction

Until committed things working fine. when committing the transaction using digest and transaction ID. getting errors always like digest not match

Hi @VigneshwaranSenthilvel Any chance you can provide any more information?

Quick google leads me to: aws/aws-sdk-go#3246 which seems to indicate an issue with the digest calculation... It seems to indicate that get_digest is insufficient to get the correct digest for executing the statement. I'll try to do some additional reading on this topic tonight but any additional information you could provide would help me, (hopefully) help you 👍 (Just ensure no sensitive data pls 😄)

Hey @onno-vos-dev,

  • After examining the Go SDK on GitHub and going through the documentation, I found instructions regarding the encryption of statement and transaction IDs.
  • Before initiating a transaction, it's recommended to fetch the latest digest. After executing the transaction, another digest might be generated.

Despite following these steps, I haven't had success yet.