After I upgraded from Percona 8.0.16-7 to 8.0.18-9, I started getting these warnings in the log. Also, performance is very poor. I run Centos 7. Any ideas?
2019-12-19T12:20:15.137744Z 0 [Warning] [MY-012985] [InnoDB] A long semaphore wait:
--Thread 139710936921856 has waited at dict0stats.cc line 1260 for 241 seconds the semaphore:
S-lock on RW-latch at 0x7efebf166da0 created in file buf0buf.cc line 785
a writer (thread id 139709589550848) has reserved it in mode exclusive
number of readers 0, waiters flag 1, lock_word: 0
Last time read locked in file row0sel.cc line 4922
Last time write locked in file /mnt/workspace/percona-server-8.0-redhat-binary/label_exp/min-centos-7-x64/test/rpmbuild/BUILD/percona-server-8.0.18-9/percona-server-8.0.18-9/storage/innobase/row/row0upd.cc line 3047
2019-12-19T12:20:15.146845Z 0 [Warning] [MY-012985] [InnoDB] A long semaphore wait:
--Thread 139690600232704 has waited at row0sel.cc line 4922 for 241 seconds the semaphore:
S-lock on RW-latch at 0x7efebf166da0 created in file buf0buf.cc line 785
a writer (thread id 139709589550848) has reserved it in mode exclusive
number of readers 0, waiters flag 1, lock_word: 0
Last time read locked in file row0sel.cc line 4922
Last time write locked in file /mnt/workspace/percona-server-8.0-redhat-binary/label_exp/min-centos-7-x64/test/rpmbuild/BUILD/percona-server-8.0.18-9/percona-server-8.0.18-9/storage/innobase/row/row0upd.cc line 3047
InnoDB: ###### Starts InnoDB Monitor for 30 secs to print diagnostic info:
InnoDB: Pending preads 0, pwrites 0
=====================================
2019-12-19 09:20:20 0x7f11ece1a700 INNODB MONITOR OUTPUT
=====================================