go-ora: Handle broken pipe gracefully

In case of restart of DB server instance, graceful handling of broken pipe error with which would also try to reconnect would be a good solution.

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Reactions: 2
  • Comments: 17 (15 by maintainers)

Most upvoted comments

so I will not close this issue until we catch all possible errors that related to broken pipe

if you can identify the type of the error and to faster the process you can modify function _query in file command.go v2 at line #1601 and line #1615

if errors.Is(err, io.EOF) || errors.Is(err, <returned error>){

I add support for failover please test and write your feedback