FirebirdSQL / firebird

Firebird server, client and tools
https://www.firebirdsql.org/
1.19k stars 204 forks source link

Add missing synchronization to cached vectors of known pages #8069

Closed dyemanov closed 1 month ago

dyemanov commented 1 month ago

It fixes races (causing crashes) when vectors are accessed / reallocated under high concurrent load. The original patch is implemented by Vlad Khorsun. Slightly optimized and stress-tested by myself.