[PR #1583] [MERGED] Use a lock for all operations on sqlite checkpointer #2172

Closed
opened 2026-02-20 17:46:27 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/langgraph/pull/1583
Author: @nfcampos
Created: 9/2/2024
Status: Merged
Merged: 9/3/2024
Merged by: @nfcampos

Base: nc/2sep/rm-pydantic-base-classHead: nc/2sep/sqlite-checkpointer-lock


📝 Commits (1)

  • d25d1fc Use a lock for all operations on sqlite checkpointer

📊 Changes

3 files changed (+17 additions, -15 deletions)

View changed files

📝 libs/checkpoint-sqlite/langgraph/checkpoint/sqlite/__init__.py (+11 -10)
📝 libs/checkpoint-sqlite/langgraph/checkpoint/sqlite/aio.py (+6 -4)
📝 libs/langgraph/tests/test_pregel.py (+0 -1)

📄 Description

  • Otherwise when used in multiple subgraphs in parallel separate queries can interfere w each other

Closes #1586


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langchain-ai/langgraph/pull/1583 **Author:** [@nfcampos](https://github.com/nfcampos) **Created:** 9/2/2024 **Status:** ✅ Merged **Merged:** 9/3/2024 **Merged by:** [@nfcampos](https://github.com/nfcampos) **Base:** `nc/2sep/rm-pydantic-base-class` ← **Head:** `nc/2sep/sqlite-checkpointer-lock` --- ### 📝 Commits (1) - [`d25d1fc`](https://github.com/langchain-ai/langgraph/commit/d25d1fc652da65a096ca0614fac811f18bdf154b) Use a lock for all operations on sqlite checkpointer ### 📊 Changes **3 files changed** (+17 additions, -15 deletions) <details> <summary>View changed files</summary> 📝 `libs/checkpoint-sqlite/langgraph/checkpoint/sqlite/__init__.py` (+11 -10) 📝 `libs/checkpoint-sqlite/langgraph/checkpoint/sqlite/aio.py` (+6 -4) 📝 `libs/langgraph/tests/test_pregel.py` (+0 -1) </details> ### 📄 Description - Otherwise when used in multiple subgraphs in parallel separate queries can interfere w each other Closes #1586 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-20 17:46:27 -05:00
yindo closed this issue 2026-02-20 17:46:27 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/langgraph#2172