LightRAG/lightrag/kg
yangdx 2ade3067f8 Refac: Generalize keyed lock with namespace support
Refactored the `KeyedUnifiedLock` to be generic and support dynamic namespaces. This decouples the locking mechanism from a specific "GraphDB" implementation, allowing it to be reused across different components and workspaces safely.

Key changes:
- `KeyedUnifiedLock` now takes a `namespace` parameter on lock acquisition.
- Renamed `_graph_db_lock_keyed` to a more generic _storage_keyed_lock`
- Replaced `get_graph_db_lock_keyed` with get_storage_keyed_lock` to support namespaces
2025-07-12 12:10:12 +08:00
..
deprecated Remove deprecated storage type 2025-07-05 13:11:32 +08:00
__init__.py Merge branch 'main' into add-Memgraph-graph-db 2025-07-04 23:53:07 +08:00
faiss_impl.py Feat: Add WORKSPACE support to all storage types 2025-07-07 00:57:21 +08:00
json_doc_status_impl.py Feat: Add WORKSPACE support to all storage types 2025-07-07 00:57:21 +08:00
json_kv_impl.py Feat: Add WORKSPACE support to all storage types 2025-07-07 00:57:21 +08:00
memgraph_impl.py run pre-commit 2025-07-08 20:21:20 +02:00
milvus_impl.py Feat: Add WORKSPACE support to all storage types 2025-07-07 00:57:21 +08:00
mongo_impl.py Move max_graph_nodes to global config 2025-07-07 21:53:57 +08:00
nano_vector_db_impl.py Feat: Add WORKSPACE support to all storage types 2025-07-07 00:57:21 +08:00
neo4j_impl.py Move max_graph_nodes to global config 2025-07-07 21:53:57 +08:00
networkx_impl.py Move max_graph_nodes to global config 2025-07-07 21:53:57 +08:00
postgres_impl.py Move max_graph_nodes to global config 2025-07-07 21:53:57 +08:00
qdrant_impl.py Feat: Add WORKSPACE support to all storage types 2025-07-07 00:57:21 +08:00
redis_impl.py Feat: Add WORKSPACE support to all storage types 2025-07-07 00:57:21 +08:00
shared_storage.py Refac: Generalize keyed lock with namespace support 2025-07-12 12:10:12 +08:00