vesoft-inc / nebula-go

Nebula client in Golang
Apache License 2.0
134 stars 70 forks source link

v3.4.1 session 泄露 #268

Closed zjtaozjtw closed 1 year ago

zjtaozjtw commented 1 year ago

当session过期后,在ExecuteWithParameter方法中,重试获取的session没有用来更新getIdleSession()方法获取的session,导致后面在调用returnSession()方法时,放回idleSession里面的还是那个过期的session,于是每次就会不断重试来创建新的session,导致session不断上涨。

wey-gu commented 1 year ago

Thanks a lot @zjtaozjtw !

@Aiee could you please kindly take a look at this issue?

When it's confirmed, would you mind PR to fix it @zjtaozjtw ?

HarrisChu commented 1 year ago

could we close this issue?

Aiee commented 1 year ago

Closed by https://github.com/vesoft-inc/nebula-go/pull/269