Skip to content

merge_semantic_meta_data runs once per loader Job instead of once per load #380

Description

@gaurav

mode: load in the loader Helm chart creates one Kubernetes Job per compendium file, and each Job's load_all calls merge_semantic_meta_data() at the end. So the merge — which reads every file-* key and re-sums all source-prefix counts — runs dozens of times per load, redundantly, and is what duplicates the semantic_types list (see companion issue).

It should run exactly once, after all compendium Jobs finish. Options: a separate final Job/step in the chart, or a loader entrypoint that only does the merge. Coordinate with the mode: load sharding in the translator-devops chart.

Context: node_normalizer/loader/loader.py merge_semantic_meta_data / load_all; documentation/Development.md.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

Status
Backlog

Relationships

None yet

Development

No branches or pull requests

Issue actions