kernelci / kernelci/kernelci-project

Incomplete tasks due service crash

Open
#472 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
14
Forks
32
Avg merge
1d 1h
Merged PRs (30d)
3

Description

Often might happen that service crash due various reasons, for example pipeline-tarball might try to use more memory than available at node, then it will restart and we might have checkout node finished and stay in incomplete state.
We need a way to retry last job that was being executed, if it is possible.

Proposal: to do this we need mechanism that will take event, set this event as "current" of service, and on event completion - delete this state. In case service restarted, it will check if there was event that was being processed and if yes, it will retry to process it again.

Question is:
Where to store event? Persistent storage on kubernetes? some additional API endpoint?

Any other suggestions?

Contributor guide

No contributing guide indexed for this repository

Research direction

No files or tests are named. Start by tracing how the service processes events, including pipeline-tarball and checkout-node work, then compare persistent storage options available in Kubernetes. Done would mean an in-progress event survives a service restart, is retried, and is cleared after completion without duplicate recovery.

Written by the indexing model from the issue text.

Assessment

Tech stack
kubernetes, python
Domain
distributed-systems, infrastructure
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.