This repo attempts to reliably reproduce CockroachDB issue 33342.
Using this repo requires Docker (with docker-compose
) and bash.
To reproduce the error:
-
Clone this repo
$ git clone https://github.com/nexdrew/cockroach-33342-repro
-
Use Docker to run Cockroach
$ ./01-start-cockroach.sh
-
Load a minimal schema with minimal data
$ ./02-load-schema.sh
-
Run the query to produce an error (will crash the
db1
Docker container, which will automatically restart)$ ./03-run-query.sh
-
Stop Cockroach
$ ./04-stop-cockroach.sh
You should be able to rm -rf test-data
and then repeat the steps above.