Skip to content

Should rollback not commit after healthcheck connection error #3941

Description

@punktilious

Describe the bug
If the $healthcheck operation encounters an invalid connection, we still end up attempting to commit the transaction instead of rolling back. We need a mechanism to trigger a rollback for certain OperationOutcomes.

Environment
Which version of IBM FHIR Server? 5.0.0-RC2

To Reproduce
Steps to reproduce the behavior:

  1. See details here: JDBC connection not validated when numConnectionsPerThreadLocal is used OpenLiberty/open-liberty#20599

Expected behavior
Transactions should be rolled back not committed when an invalid connection is identified in the $healthcheck operation.

Additional context
This issue was identified by the Open Liberty team responding to OpenLiberty/open-liberty#20599.

It's unclear at the moment if this is having any functional impact, so might just be better practice.

Metadata

Metadata

Labels

P3Priority 3 - Nice To HavebugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions