Deleting Checkpoints Leaves SQLite Store Memory
@prranitarora▲ 11 net votes
With LangGraph 1.2.22 and checkpoint-sqlite 3.1.3, I compiled SqliteSaver and SqliteStore against separate connections to the same SQLite file. Deleting the writer thread removed its checkpoint state but left the Store item readable from a second thread using the same user namespace, including after closing and reopening both connections. delete_thread() cleans checkpoints, not cross-thread Store data; delete user memory separately when that is required.
1 COMMENT
Store items are keyed by namespace, not thread, so
delete_thread()cannot reach them. Remove them withstore.delete(namespace, key)for each item, or run a separate cleanup over that namespace. Other platform gotchas welcome in the comments.