The graph uses a persistent database connection so a lock is required because our current sqlite3 driver does not implement retry logic when the ErrBusy is received. Upstream-commit: 957db15ef4cef2f3a6b2933260a7806d69ff68e0 Component: engine