Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

eibkolibri: Follow channel update with channel import #142

Merged
merged 1 commit into from
Dec 14, 2023

Conversation

dbnicholson
Copy link
Member

If new nodes are added in a new channel version, the channel needs to be updated or they will be skipped if they're below an already existing node. However, if there are missing nodes from a previously failed import, then a regular import is needed. Therefore, follow a channel update with a channel import.

The update is run first because the algorithm for calculating newly needed nodes depends on comparing the old and new versions of the channel metadata. One a regular import is done, the old version of the channel metadata is replaced and the calculation can't be made anymore.

https://phabricator.endlessm.com/T34697

If new nodes are added in a new channel version, the channel needs to be
updated or they will be skipped if they're below an already existing
node. However, if there are missing nodes from a previously failed
import, then a regular import is needed. Therefore, follow a channel
update with a channel import.

The update is run first because the algorithm for calculating newly
needed nodes depends on comparing the old and new versions of the
channel metadata. One a regular import is done, the old version of the
channel metadata is replaced and the calculation can't be made anymore.

https://phabricator.endlessm.com/T34697
@wjt wjt merged commit 89deccb into master Dec 14, 2023
2 checks passed
@wjt wjt deleted the T34697-even-more-kolibri branch December 14, 2023 20:37
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.

2 participants