Skip to content

Fix broken transaction rollback on nested service failures #171

@Baskarayelu

Description

@Baskarayelu

Fix broken transaction rollback on nested service failures

Description

  • Ensure nested service exceptions trigger full rollback of enclosing DB transaction.

Requirements and context

  • Preserve atomicity for multi-step write operations.
  • Avoid swallowing exceptions in lower layers.

Suggested execution

  • Refactor transaction manager to propagate errors consistently.
  • Add explicit rollback assertions in service orchestration path.

Test and commit

  • Add integration tests for nested failure rollback completeness.

Example commit message

  • fix(tx): guarantee full rollback on nested service exceptions

Guidelines

  • Keep transaction boundaries explicit and minimal.
  • Avoid side effects outside transaction before commit.

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave programbackendBackend platformbugBug fixesdbDatabase changestransactionsTransactional integrity

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions