nexdrew / cockroach-33342-repro

Attempt to reproduce CockroachDB issue 33342

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This repo attempts to reliably reproduce CockroachDB issue 33342.

Using this repo requires Docker (with docker-compose) and bash.

To reproduce the error:

  1. Clone this repo

    $ git clone https://github.com/nexdrew/cockroach-33342-repro
  2. Use Docker to run Cockroach

    $ ./01-start-cockroach.sh
  3. Load a minimal schema with minimal data

    $ ./02-load-schema.sh
  4. Run the query to produce an error (will crash the db1 Docker container, which will automatically restart)

    $ ./03-run-query.sh
  5. Stop Cockroach

    $ ./04-stop-cockroach.sh

You should be able to rm -rf test-data and then repeat the steps above.

About

Attempt to reproduce CockroachDB issue 33342


Languages

Language:Shell 100.0%