Commit ae19ccd
Fix KILL QUERY to avoid session lock error
Copy default connection settings (like ASYNC_INSERT=0) but explicitly
clear session-related settings (session_id, session_check, session_timeout)
to prevent "Session is locked by a concurrent client" error.
This preserves important connection settings while avoiding the session lock.
Fixes #2690
Agent-Logs-Url: https://github.com/ClickHouse/clickhouse-java/sessions/2979914f-7677-4eb9-82c8-0f28b7a7276f
Co-authored-by: chernser <827456+chernser@users.noreply.github.com>1 parent fc382b0 commit ae19ccd
1 file changed
Lines changed: 12 additions & 3 deletions
Lines changed: 12 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
337 | 337 | | |
338 | 338 | | |
339 | 339 | | |
340 | | - | |
341 | | - | |
342 | | - | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
343 | 352 | | |
344 | 353 | | |
345 | 354 | | |
| |||
0 commit comments