-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Labels
bugLEGACY. Use the Bug issue type insteadLEGACY. Use the Bug issue type insteaddriver:clickhouseIssues related to the ClickHouse driverIssues related to the ClickHouse driverhelp wantedCommunity contributions are welcome.Community contributions are welcome.questionThe issue is a question. Please use Stack Overflow for questions.The issue is a question. Please use Stack Overflow for questions.
Description
Getting error
{
"error": "Error: Code: 373. DB::Exception: Session is locked by a concurrent client. (SESSION_IS_LOCKED) (version 22.3.20.29 (official build))\n"
}
To Reproduce
As per the CLickHouse expert
ClickHouse shows an error message if there are two or more parallel queries with the same session_id. Usually the session_id must be different each time
In details
The error occurs within ClickHouse's internals when a session is trying to be acquired, but it's already locked by another client. This might happen due to concurrent queries or operations trying to access the same session simultaneously, causing contention.
Version:
0.34.61
Metadata
Metadata
Assignees
Labels
bugLEGACY. Use the Bug issue type insteadLEGACY. Use the Bug issue type insteaddriver:clickhouseIssues related to the ClickHouse driverIssues related to the ClickHouse driverhelp wantedCommunity contributions are welcome.Community contributions are welcome.questionThe issue is a question. Please use Stack Overflow for questions.The issue is a question. Please use Stack Overflow for questions.