Skip to content
This repository was archived by the owner on May 4, 2022. It is now read-only.

drop duplicate fnames when migrating layout from old layout backend#936

Merged
apetro merged 1 commit intomasterfrom
drop-duplicates-during-layout-migrate
Nov 22, 2021
Merged

drop duplicate fnames when migrating layout from old layout backend#936
apetro merged 1 commit intomasterfrom
drop-duplicates-during-layout-migrate

Conversation

@apetro
Copy link
Contributor

@apetro apetro commented Nov 22, 2021

The new layout backend assures no duplicates.

But when migrating layouts, this front end would POST the copied over layout to the new backend, but did not read the layout back out of the new backend, and so did not immediately benefit from the backend's de-duplication.

This Pull Request adds using Set to filter away duplicate fnames client-side during the migration process.

@apetro apetro force-pushed the drop-duplicates-during-layout-migrate branch from e530c30 to c135289 Compare November 22, 2021 19:07
@apetro apetro merged commit 5757235 into master Nov 22, 2021
@apetro apetro deleted the drop-duplicates-during-layout-migrate branch November 22, 2021 19:20
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant