Help us shape the future of Go! Take the 2026 Go Developer Survey

isocheck

command module
v0.0.0-...-57922d1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 28, 2026 License: MIT Imports: 20 Imported by: 0

README

isocheck

Tests which transaction isolation level a Postgres or MySQL database actually provides, using the same method as Jepsen's Elle.

go install github.com/salw2e/isocheck@latest
isocheck -isolation serializable postgres://user@localhost:5432/db
isocheck -isolation repeatable-read mysql://root@localhost:3306/db

It creates a table called isocheck in the database. Exit code is 1 if the level isn't met.

read-committed       yes
snapshot-isolation   yes
repeatable-read      no   G2-item
serializable         no   G2-item

Results

Database SERIALIZABLE REPEATABLE READ
Postgres 17 serializable snapshot isolation
MySQL 8.4 serializable read committed
MariaDB 10.11 serializable read committed
MariaDB 11.8 serializable snapshot isolation
TiDB 8.5 not supported read committed
CockroachDB 26.3 serializable runs as serializable
YugabyteDB 2026.1 serializable snapshot isolation

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL