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

Use deep clone so Indexer can handle existing branches #334

Merged
merged 1 commit into from
Jul 12, 2024

Conversation

HebaruSan
Copy link
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
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
3 checks passed
@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