Open guoshenkuang opened 6 years ago
No idea. Have you tried with the race detector? What if you limit the number of goroutines to 1?
we have try these three cases: 1) ora version v4.1.15, 64 go routines, errors are detected in a few seconds 2) ora version v4.1.15, 1 go routine, the first error is detected in about 10 min 3) ora version v4.1.9, 64 go routines, no errors are detected in 2 hours
I'll try to create a reproducer, but if you use only database/sql, you could easily try my other driver, gopkg.in/goracle.v2 .
70733b7 has a reproducer
go test -race -run=244
But couldn't find a solution yet. gopkg.in/goracle.v2 does not have this error (with the same test).
we found that when query using multiple go routine, the query result is not identical to that in database.
reproduction environment:
sample output: main.go.txt