Skip to content

Update gateway to use DB transactions for Plan Import #1577

Open
@dandelany

Description

Background

Low-priority follow-up to NASA-AMMOS/aerie-gateway#109 - this PR includes a “faux transaction” ie. our code rolls back DB state if anything goes wrong during import to avoid corruption. This is theoretically almost as safe as a DB transaction, unless gateway dies/errors halfway through.

Description

We'd like to refactor the gateway to use "real" DB transactions for Plan Import (& potentially other similar operations). However this is complicated by two things:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

featureA new feature or feature requestgatewayAny issues related to the Aerie Gateway servicerefactorA code change that neither fixes a bug nor adds a feature

Type

No type

Projects

  • Status

    Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions