Repository navigation
Ankus 0.2.31
Ankus 0.2.31 makes the Ankus.Testing fixtures recover when PostgreSQL on Windows reads a partial pg_control. On Windows each PostgreSQL server process reads that file again as it starts, without a lock, so a process that starts while another one rewrites it can exit with incorrect checksum in control file. A test cluster could then fail to start, or a connection could close before a test ran. PostgresTestCluster now starts again with a fresh cluster when that ends a startup, within the existing limit of three attempts, and retries a connection up to twice more when its backend exited that way. Other startup and connection failures are still reported at once.
The runtime and compiler packages stay at 10.0.15-ankus.3 and 11.0.0-ankus.3. To update, run dotnet tool update --global Ankus.Tool --version 0.2.31, then ankus upgrade in your solution.