vesoft-inc / nebula-java

Client API and data importer of Nebula Graph in Java
Apache License 2.0
164 stars 121 forks source link

Shouldn't close the whole session pool on a single session error #597

Closed wenhaocs closed 3 weeks ago

wenhaocs commented 3 weeks ago

Please check the FAQ documentation before raising an issue

Describe the bug (required)

The user was experiencing high amount of The SessionPool has been closed error. It accompanies with error of execute failed for IOErrorException, message: okhttp3.internal.http2.StreamResetException: stream was reset: FLOW_CONTROL_ERROR, retry: 1.

We are guessing it's this I/O error causing connection.authenticate failure and then causing the session pool close.

Your Environments (required)

How To Reproduce(required)

Steps to reproduce the behavior:

  1. Step 1
  2. Step 2
  3. Step 3

Expected behavior

Additional context

wenhaocs commented 3 weeks ago

Has been fixed in https://github.com/vesoft-inc/nebula-java/pull/595