https://github.com/tilt-dev/cockroach-bugreport-1
https://github.com/tilt-dev/cockroach-bugreport-1
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/tilt-dev/cockroach-bugreport-1
- Owner: tilt-dev
- Created: 2017-09-26T22:13:28.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-09-26T22:16:58.000Z (over 8 years ago)
- Last Synced: 2025-01-02T08:14:53.384Z (over 1 year ago)
- Language: Go
- Size: 95.7 KB
- Stars: 0
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
=Cockroach BugReport 1=
This repo demonstrates a bug in CockroachDB. To execute, run:
```
cockroach start --insecure &
cockroach user set maxroach --insecure
cockroach sql --insecure -e 'CREATE DATABASE bank'
cockroach sql --insecure -e 'GRANT ALL ON DATABASE bank TO maxroach'
```
and run
```
go run ./main.go
```
Expected result: No insertion failures
Actual result: INSERTs inside a transaction fail 0.5% - 1.0% of the time