lablup / lablup/backend.ai

Migrate Manager lock factory initialization to valkey-glide

Open
#7,152 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
670
Forks
183
Avg merge
17h 7m
Merged PRs (30d)
358

Description

## Objective

Update Manager server's lock factory to use valkey-glide client for distributed locking.

## Files to modify

- `src/ai/backend/manager/server.py` (lines 1414-1429)
- `init_lock_factory()` function

## Tasks

- [ ] Update RedisLock initialization to use valkey-glide client
- [ ] Update import statements
- [ ] Verify lock factory returns properly configured RedisLock instances
- [ ] Test distributed locking between manager instances

## Dependencies

Depends on: Migrate RedisLock implementation

## Related

Part of BA-2585 - Retire redis-py entirely

JIRA Issue: BA-3269

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.