Skip to content

Marten 9.62.0

Choose a tag to compare

@jeremydmiller jeremydmiller released this 16 Nov 19:25
09c26de

Marten 9.62.0 is a small bug-fix release on Weasel 9.51.0.

Fixes

  • HiLo SetFloor() can no longer be undone by an id fetch already in progress (#5998). Before this release, a NextLong() that had already reserved its next block could finish installing it after SetFloor(n) returned. That handed out ids below the new floor, and under the same race an id could also be issued twice. SetFloor() now waits for that fetch and installs its own block after it. The fix is in Weasel 9.51.0 (weasel#849, weasel#853); there's no Marten code change.
  • Single instance tenancy no longer starves the thread pool on a tenant's first synchronous session (#5985). GetTenant() for an uncached tenant now checks for the tenant's database, and runs CREATE DATABASE when it's missing, with synchronous I/O on the calling thread. It used to block on the async path. The exception is a Multiplexing master connection, which Npgsql only supports asynchronously. Together with 9.61.0, all three per-tenant database tenancies (master table, single instance, sharded) now resolve known tenants without sync-over-async.

No schema changes. Weasel goes from 9.50.0 to 9.51.0 (additive). JasperFx stays at 2.102.0.

What's Changed

Full Changelog: V9.61.0...V9.62.0