Skip to content

#315 - Concept Sets domain incorrectly unretires referenced concepts#316

Merged
mseaton merged 2 commits intomekomsolutions:mainfrom
mseaton:issue-315
Mar 4, 2026
Merged

#315 - Concept Sets domain incorrectly unretires referenced concepts#316
mseaton merged 2 commits intomekomsolutions:mainfrom
mseaton:issue-315

Conversation

@mseaton
Copy link
Collaborator

@mseaton mseaton commented Mar 3, 2026

No description provided.

@mseaton mseaton requested review from ibacher, kdaud and kipchubett March 3, 2026 18:39
// We need to process all set members, whether the underlying concept is retired or not
return true;
}

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

These are the primary fixes that are needed

if (saved > 250) { // TODO make this configurable
Context.flushSession();
Context.clearSession();
if (saved % 250 == 0) { // TODO make this configurable
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This is unrelated, but I found during testing. Changing this from > 250 to % 250, and adding additional logging so that more progress can be assessed during long-running loads. For example, I was loading in concepts and conceptssets csvs that each had about 10,000 rows and takes around 8-10 minutes.

@mseaton mseaton linked an issue Mar 3, 2026 that may be closed by this pull request
Copy link
Contributor

@mogoodrich mogoodrich left a comment

Choose a reason for hiding this comment

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

LGTM, thanks @mseaton

@mseaton mseaton merged commit fab73ec into mekomsolutions:main Mar 4, 2026
2 checks passed
@mseaton mseaton deleted the issue-315 branch March 4, 2026 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Concept Sets domain incorrectly unretires referenced concepts

2 participants