mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-04-30 14:52:36 +00:00
fix: use _do_write for scoped reset delete to enable commit conflict retry
This commit is contained in:
@@ -625,7 +625,7 @@ class LanceDBStorage:
|
||||
return
|
||||
prefix = scope_prefix.rstrip("/")
|
||||
if prefix:
|
||||
self._table.delete(f"scope >= '{prefix}' AND scope < '{prefix}/\uffff'")
|
||||
self._do_write("delete", f"scope >= '{prefix}' AND scope < '{prefix}/\uffff'")
|
||||
|
||||
def optimize(self) -> None:
|
||||
"""Compact the table synchronously and refresh the scope index.
|
||||
|
||||
Reference in New Issue
Block a user