21 Commits

Author SHA1 Message Date
yangdx
9f5399c2f1 Replace tenacity retries with manual Memgraph transaction retries
- Implement manual retry logic
- Add exponential backoff with jitter
- Improve error handling for transient errors
2025-07-19 11:31:21 +08:00
yangdx
99e58ac752 fix: add retry mechanism for Memgraph transient errors
- Implement exponential backoff retry for transaction conflicts
- Add tenacity-based retry decorator with 5 attempts
- Handle TransientError in upsert_node and upsert_edge operations
- Resolve "Cannot resolve conflicting transactions" errors
- Improve system reliability under concurrent load
2025-07-19 10:34:35 +08:00
yangdx
7184c7b3ab fix: change default edge weight from 0.0 to 1.0 in entity extraction and graph storage
- Update extract_entities function in operate.py to use 1.0 as default weight
- Fix Neo4j implementation to use 1.0 instead of 0.0 for missing edge weights
- Fix Memgraph implementation to use 1.0 instead of 0.0 for missing edge weights
- Ensures consistent non-zero default weights across all graph storage backends
2025-07-17 11:30:49 +08:00
DavIvek
2914b21b34 remove unused query parameter 2025-07-14 16:25:58 +02:00
DavIvek
9beb2456ec update subgraph query comment 2025-07-14 16:25:17 +02:00
DavIvek
45815f1eae remove redundant UNWIND 2025-07-14 15:39:39 +02:00
DavIvek
593ce552af run pre-commit 2025-07-14 14:26:39 +02:00
DavIvek
f961f1aa7d remove fallback query 2025-07-14 14:26:23 +02:00
DavIvek
81c93f6950 dont use mage procedure 2025-07-14 14:16:20 +02:00
DavIvek
15c4bac87f wip fix Memgraph get_knowledge_graph issue by using mage function 2025-07-11 17:02:42 +02:00
DavIvek
8d295bd294 wip fix Memgraph get_knowledge_graph issues 2025-07-11 11:55:53 +02:00
DavIvek
63d554bad8 run pre-commit 2025-07-10 16:57:13 +02:00
DavIvek
a0c4d88b0d wip fix Memgraph get_knowledge_graph issues 2025-07-10 16:56:44 +02:00
DavIvek
08eb68b8ed run pre-commit 2025-07-08 20:21:20 +02:00
DavIvek
4438897b6b add changes based on review 2025-07-08 16:28:06 +02:00
yangdx
4ea38456f0 Improve graph query robustness and error handling 2025-07-05 00:31:52 +08:00
DavIvek
c0a3638d01 fix memgraph_impl.py according to test_graph_storage.py 2025-06-27 15:35:20 +02:00
DavIvek
9aaa7d2dd3 fix drop function in Memgraph implementation 2025-06-27 15:09:22 +02:00
DavIvek
bd158d096b polish Memgraph implementation 2025-06-27 14:47:23 +02:00
DavIvek
7118b23ca2 reformatting 2025-06-26 16:33:19 +02:00
DavIvek
ff1927d362 add Memgraph graph storage backend 2025-06-26 16:15:56 +02:00