Skip to content

Rollback commit does not remove created code system version and release branch #687

@jonmdtn

Description

@jonmdtn

Hi,

We're experiencing some strange behavior after updating from version 8.3.0 to version 10.4.2.

The content has all been loaded into the v10 instance using RF2 files and should be as clean as possible. When rolling back a code system branch across our two instances (one on 8.3.0, other on 10.4.2), the one running version 10.4.2 does not delete the created code system version or release branch.

Doing a test on a clean instance only using snapshot imports and a few code systems for testing tells me the rollback functionality works as expected, so we definitely have some state that is not expected by Snowstorm.

I've confirmed the head and base timestamps match, and that manually hard-deleting the release branch and the version entry in codesystem-versions index does remove the code system version and release branch without any noticeable side-effects.

I suspect the whole condition on line 159 of SBranchService on master isn't run since we do not see the warning of child branch using the commit being rolled back in the system logs.

This seems to not affect code systems that only contain reference set members as content, which are children of our national extension. Otherwise it affects both MAIN and our national extension branch(es).

Any ideas on what could be causing this, and is our workaround unsafe to use? We've been thinking we might have some weird integrity issues or something like that, but find it strange this wouldn't work on MAIN, and especially strange it doesn't give any rebase warnings doing this on MAIN.

Thanks in advance,
jonmdtn

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions