when the query is process in coordinator node, you may just kill the node ,but if query are processed under replicate node ~~~😇
Jeff Jirsa <jji...@gmail.com> 于2021年1月7日周四 下午3:24写道: > There have been a few bugs that lets some really bad queries run for 30+ > minutes in pathological cases, but generally you’re right, and there is not > a way to interrupt a running query in any existing releases > > > On Jan 6, 2021, at 11:20 PM, Elliott Sims <elli...@backblaze.com> wrote: > > > At least by default, Cassandra has pretty short timeouts. I don't know of > a way to kill an in-flight query, but by the time you did it would have > timed out anyways. I don't know of any way to stop it from repeating other > than tracking down the source and stopping it. > > On Wed, Jan 6, 2021, 5:41 PM David Ni <zn1...@126.com> wrote: > >> Hello,Experts! >> I want to know if there is a way to kill the session in >> cassandra cluster,for example,I get session_id from >> system_traces.sessions:4c9049a0-4fed-11eb-a60d-7f98ffdaf6cd,the session is >> running with very bad cql which causing bad performance,I need to kill it >> ASAP,could anyone help,thanks very much! >> >> >> >> > -- you are the apple of my eye !