Skip to content

Test conccurent atomic SELECT FOR UPDATE transactions

Notifications You must be signed in to change notification settings

pierre-b/singlestore-atomic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

singlestore-atomic

Simple test to process records concurrently with atomic "SELECT ... LIMIT 1 FOR UPDATE"

  1. Install a local SingleStore DB with https://hub.docker.com/r/memsql/cluster-in-a-box
  2. Add your DSN to the dsn variable
  3. Launch the test with: go run main.go

Errors

The test produces the following errors:

scan id error: Error 1857: The connection cleanup process failed to clean up a connection. The open transaction has rolled back.

About

Test conccurent atomic SELECT FOR UPDATE transactions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages