Invalidate all query caches for current thread by eileencodes · Pull Request #35089 · rails/rails

This change ensures that all query caches are cleared across connection handlers and pools so that if you write on one connection the read connection will have the update that occurred. cc/ @kamipo...