lablup / lablup/backend.ai

Refactor StorageSessionManager to load proxy info from DB

Open
#9,004 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

Refactor StorageSessionManager (session_manager.py) to create StorageProxyInfo objects by querying the DB instead of reading etcd. This is the core read-path switch for storage proxy metadata.

JIRA Issue: BA-4504

Contributor guide

Open the contributing guide

Research direction

Start with session_manager.py and trace how StorageSessionManager currently reads proxy metadata from etcd and where StorageProxyInfo objects are created. The work is done when proxy info is queried from the DB instead and the read path no longer depends on etcd for this metadata; the issue does not name a test to run.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend, databases, distributed-systems
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.