The review of PR #544 (comment 33133) left one mutation green: read the plugin's options under the read lock of DbInstances, open the new pool without any lock, then take the write lock for the insert only. A statement of the plugin (execute, select) arriving while the new pool opens would then find the plugin's pool instead of waiting for the swap. The new test polls the swap once, so that it waits in the opening of the new pool, then looks the pool up as the plugin's execute does: it must wait for the swap and find the pool of one connection. Refs #543 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| capabilities | ||
| icons | ||
| src | ||
| .gitignore | ||
| build.rs | ||
| Cargo.lock | ||
| Cargo.toml | ||
| tauri.conf.json | ||