Results 5 comments of zog

sometimes this error message also pops up Jul 30 16:06:32 : 2024/07/30 16:06:32 TTC error: received code 6 during response reading Jul 30 16:06:32 systemd[1]: GO_Trans.service: Main process exited, code=exited,...

ran with -race and used WrapRefCursor ================== WARNING: DATA RACE Write at 0x00c00059e168 by goroutine 74: bufio.(*Reader).Read() C:/Program Files/Go/src/bufio/bufio.go:259 +0x77e github.com/sijms/go-ora/v2/network.(*Session).readAll() C:/Users/go/pkg/mod/github.com/sijms/go-ora/[email protected]/network/session.go:949 +0x165 github.com/sijms/go-ora/v2/network.(*Session).readPacketData() C:/Users/go/pkg/mod/github.com/sijms/go-ora/[email protected]/network/session.go:971 +0xa9 github.com/sijms/go-ora/v2/network.(*Session).readPacket() C:/Users/go/pkg/mod/github.com/sijms/go-ora/[email protected]/network/session.go:1009 +0x3e github.com/sijms/go-ora/v2/network.(*Session).read()...

solved this by adding mutex.Lock() in the function. I just need to know that is this a correct way or am I missing something?

still this issue happening even though i added mutex lock at the beginning of the function have anyone faced similar issue?

Hi @sijms Thanks for the response facing the below error after update Error executing statement: TTC error: received code 11 during response reading. Error executing statement: TTC error: received code...