Gene Zhang
Gene Zhang
Thanks @gingerwizard . Here are some code snippets: ``` ... // creating a DB (DB connection pool) clickServers := make([]string, 0, 3) for _, replica := range replicas { clickServers...
@gingerwizard We had some interesting scenario as more background for your investigation. This may or may not lead to the problem we had above. Here is the observation for one...
The "reset" keyword in my previous posting triggered me to search for more in code that resets a connection. I couldn't find in the v1 code, but in v2, I've...
I'm getting to another piece of code - when timing out, cancel() is called to close the connection: As I mentioned earlier, the CH server did complain it received unknown...
I found two differences: in comparison, v1 cancel() does not have 2 seconds timeout, and also calls Close(): Hope my investigation helps to speed up diagnosis on your end. We...
Hi Dale @gingerwizard , @filimonov has helped to pinpoint the trouble spot in the code logic above. It's very dangerous for all the customers who are using the V2 driver,...
Hi, I'd like to learn the best way of retrying a failed Batch... by leveraging its data to construct a new Batch? Currently I don't see any easy way to...
Sure. Thanks @gingerwizard @jkaflik and all for your support and changes made. Really appreciate it.
Thanks again. I saw that merge. We tried hard to simulate the possible scenarios in our controlled environments using exactly the same CH server version and the client-driver version. I...
Just to report back that the best I could do with the existing API is to define a struct with parquet tags and transfer SQL query result rows from []any...