Skip to content

Conversation

apetenchea
Copy link
Member

Scope & Purpose

The maxTransactionSize option is there to limit the memory usage of a given transaction. Upon reaching this limitation, any subsequent operations are being rejected, but the transaction can be continued and even committed. However, the error message is misleading, as it states the the transaction is being aborted, which is not the case.

This PR modifies the error message and adds a clear test, showcasing the expected behavior.

  • 💩 Bugfix
  • 🍕 New feature
  • 🔥 Performance improvement
  • 🔨 Refactoring/simplification

@apetenchea apetenchea self-assigned this Apr 26, 2024
@apetenchea apetenchea requested a review from a team as a code owner April 26, 2024 12:01
@cla-bot cla-bot bot added the cla-signed label Apr 26, 2024
@jsteemann jsteemann added this to the devel milestone Apr 26, 2024
Copy link
Contributor

@jsteemann jsteemann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@neunhoef neunhoef merged commit ef5c4d8 into devel May 2, 2024
@neunhoef neunhoef deleted the bug-fix/misleading-transaction-error-message branch May 2, 2024 08:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants