Skip to content

Fix SQLite write-queue freeze with self-recovery and readiness fast p… - #826

Closed
emirhandurmus wants to merge 1 commit into
eclipse-iofog:developfrom
Datasance:fix/sqlite-queue-self-recovery
Closed

Fix SQLite write-queue freeze with self-recovery and readiness fast p…#826
emirhandurmus wants to merge 1 commit into
eclipse-iofog:developfrom
Datasance:fix/sqlite-queue-self-recovery

Conversation

@emirhandurmus

Copy link
Copy Markdown
Contributor

…ath.

Add transaction timeouts, pool recycle, and background queue shedding so stuck sqlite writers cannot wedge the Controller indefinitely. Readiness SELECT 1 bypasses the write queue; checkFogToken runs handlers inside the auth transaction to prevent nested-enqueue deadlocks on agent hot paths.

…ath.

Add transaction timeouts, pool recycle, and background queue shedding so
stuck sqlite writers cannot wedge the Controller indefinitely. Readiness
SELECT 1 bypasses the write queue; checkFogToken runs handlers inside the
auth transaction to prevent nested-enqueue deadlocks on agent hot paths.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant