Review SQLite pool implementation
Open
area-adonet-sqlite
- Dominant language
- C#
- Stars
- 14.8k
- Forks
- 3.4k
- PR merge metrics
- PR metrics pending
Description
Potential issues found by agent review:
|Finding|File|Issue|
|-|-|-|
|`SqliteConnectionPool` unbounded growth|`SqliteConnectionPool.cs:46`|No max pool size, no blocking wait|
|Nested lock in `SqliteConnectionPool.DisposeConnection`|`SqliteConnectionPool.cs:141`|Reentrant lock antipattern|
|`\_state` not volatile in `SqliteConnectionPoolGroup`|`SqliteConnectionPoolGroup.cs:9`|Stale read possible on ARM|
|Locking using `this`|`SqliteConnectionPoolGroup.cs:22,32,47,61`|It might be locked elsewhere, prefer Lock|
Contributor guide
Assessment
This issue has not been assessed yet.