apache / datafusion-ballista

Apache DataFusion Ballista Distributed Query Engine
https://datafusion.apache.org/ballista
Apache License 2.0
1.46k stars 185 forks source link

Support graceful shutdown for scheduler. #735

Open zhzy0077 opened 1 year ago

zhzy0077 commented 1 year ago

Which issue does this PR close?

Closes #565.

Rationale for this change

What changes are included in this PR?

Setting the terminating flag when receiving terminate signals and shutdown the server gracefully.

Are there any user-facing changes?

No.

N.B. I'm really a newbie to Rust. Appreciate in advance for your reviewing the PR and raising comments.

mingmwang commented 1 year ago

@liukun4515