Skip to content

Use deep clone so Indexer can handle existing branches#334

Merged
techman83 merged 1 commit into
KSP-CKAN:masterfrom
HebaruSan:fix/indexer-deep-clone
Jul 12, 2024
Merged

Use deep clone so Indexer can handle existing branches#334
techman83 merged 1 commit into
KSP-CKAN:masterfrom
HebaruSan:fix/indexer-deep-clone

Conversation

@HebaruSan
Copy link
Copy Markdown
Member

Problem

We haven't had a full successful inflation pass in 2 days.

image

Cause

There are several pending pull requests at https://github.com/KSP-CKAN/CKAN-meta/pulls, and the Indexer keeps failing to push to them because it doesn't have the current state of their branches after restarting after KSP-CKAN/CKAN#4119 was merged. These attempts somehow overwhelm the container's volume credits, which eventually end up at 0.

See #303 and #315 for previous instances of the same issue for other services (except in those cases they were just failing, not overloading the volume credits and blocking the Scheduler from running).

Changes

Now the Indexer uses a deep clone of CKAN-meta, so the existing branches will be retrieved.

@HebaruSan HebaruSan added Bug Something isn't working Indexer Receives inflated modules and adds them to CKAN-meta labels Jul 12, 2024
@HebaruSan HebaruSan requested a review from techman83 July 12, 2024 01:29
Copy link
Copy Markdown
Member

@techman83 techman83 left a comment

Choose a reason for hiding this comment

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

Thanks @HebaruSan !

@techman83 techman83 merged commit 99896de into KSP-CKAN:master Jul 12, 2024
@HebaruSan HebaruSan deleted the fix/indexer-deep-clone branch July 12, 2024 02:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug Something isn't working Indexer Receives inflated modules and adds them to CKAN-meta

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants