Skip to content

Refresh served datasets after an import - #2722

Merged
johngrimes merged 3 commits into
release/server/3.0.0from
issue/2714
Aug 7, 2026
Merged

Refresh served datasets after an import#2722
johngrimes merged 3 commits into
release/server/3.0.0from
issue/2714

Conversation

@johngrimes

Copy link
Copy Markdown
Member

Resolves #2714. An overwrite $import left the dataset pinned and cached at startup in service, so reads could be answered from a plan predating the import, and a schema-changing rewrite made any recache of that stale plan fail - the cause of the intermittent DELTA_SCHEMA_CHANGE_SINCE_ANALYSIS failure in NarrowedOpenTypesIT.importInOverwriteModeRewritesAtTheEncoderSchema. The import path now calls DynamicDeltaSource.refresh() for each imported resource type on completion, as updates already do, unpersisting the stale cached dataset and re-pinning the current table.

An overwrite import left the dataset pinned and cached at startup in
service, so reads could be answered from a plan predating the import,
and a schema-changing rewrite made any recache of that plan fail.
Refresh the data source for each imported resource type on completion,
as updates already do.
@sonarqubecloud

sonarqubecloud Bot commented Aug 7, 2026

Copy link
Copy Markdown

@johngrimes
johngrimes marked this pull request as ready for review August 7, 2026 06:34
@johngrimes
johngrimes merged commit a08c0bb into release/server/3.0.0 Aug 7, 2026
5 checks passed
@johngrimes
johngrimes deleted the issue/2714 branch August 7, 2026 06:34
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.

1 participant