ottertune/query-playback

Multithread issue when connecting to MySQL

Opened this issue · 0 comments

It has multithread issue when connecting to MySQL. It is likely to hang for some time (around 2 mins) when connecting to MySQL in a multithread environment. It should be fine if there are few SQL errors when replaying workload because it will only connect to the database at the beginning. However, if more SQL errors occur, it will disconnect to the database and reconnect frequently. It will be an issue because frequently connecting to the database takes long time