v.21.12Improvements
Fix Editor Waiting Issue During Interactive Query Edition
Fix waiting of the editor during interactive query edition (waitpid()returns -1 onSIGWINCHandEDITORandclickhouse-local/clickhouse-clientworks concurrently). #31456 (Azat Khuzhin).
Why it matters
This fix addresses the problem where the terminal window resize signal (SIGWINCH) caused waitpid() to return -1, which in turn made the EDITOR command invoked by the clients wait indefinitely. This improves the reliability and user experience when editing queries interactively in ClickHouse clients.