lablup / lablup/backend.ai

Retire the etcd volumes schema and host-string parsing helpers

Open
#14,269 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
670
Forks
183
Avg merge
15h 13m
Merged PRs (30d)
368

Description

Remove what the migration leaves behind, once nothing reads it any more.

- Drop the etcd volumes configuration schema and the loader that feeds it into the manager configuration.
- Remove the helpers that build and split the proxy and volume names out of the virtual folder host string, along with their call sites. There are roughly fifty of them, so this is the bulk of the work.
- Drop the virtual folder host column and the mount columns on sessions and kernels.

Depends on virtual folder mount resolution reading the database, which is tracked separately: while the manager still asks the storage proxy where a folder lives, the host string cannot be removed.

Design: BEP-1078 (Storage Proxy Enhancement).

JIRA Issue: BA-7694

Contributor guide

Open the contributing guide

Research direction

Start by tracing the etcd volumes configuration schema and loader into manager configuration, then locate the proxy and volume host-string helpers and their call sites. Confirm virtual folder mount resolution reads the database before removing the host and mount columns; done means no remaining reads, helpers, or dependent schema and column definitions.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.