You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
for i in {1..10000};do mysql -h127.0.0.1 -uroot -P9030 -e "switch test_catalog;show databases";echo $i;done
We will got error message like: ERROR 1105 (HY000) at line 1: Failed to initialize JdbcMySQLClient: Catalog test_catalog can not connect to jdbc due to error: Access denied for user 'default_cluster:[email protected]' (using password: YES)
Then we found:
1、jvm_non_heap leak
2、java.net.FactoryURLClassLoader leak in jvm heap
Another Reproduce Steps:
1、create a jdbc catalog with metadata_refresh_interval_sec = 1
2、Trigger the memory leak:
for i in {1..10000};do mysql -h127.0.0.1 -uroot -P9030 -e "show databases from test_catalog;";echo $i;sleep 1;done
Search before asking
Version
branch-2.1
What's Wrong?
fe memory leak
What You Expected?
do not leak
How to Reproduce?
One Reproduce Steps:
1、create a jdbc catalog:
2、then drop user
test_user
3、Trigger the memory leak:
We will got error message like:
ERROR 1105 (HY000) at line 1: Failed to initialize JdbcMySQLClient: Catalog
test_catalogcan not connect to jdbc due to error: Access denied for user 'default_cluster:[email protected]' (using password: YES)
Then we found:
1、jvm_non_heap leak
2、
java.net.FactoryURLClassLoader
leak in jvm heapAnother Reproduce Steps:
1、create a jdbc catalog with
metadata_refresh_interval_sec = 1
2、Trigger the memory leak:
Anything Else?
No response
Are you willing to submit PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: