v.23.7Improvement
Enhance Error Reporting in ZooKeeperRetriesControl by Preserving Original Stack Trace
WhenZooKeeperRetriesControlrethrows an error, it's more useful to see its original stack trace, not the one fromZooKeeperRetriesControlitself. #52347 (Vitaly Baranov).
Why it matters
This change enhances the debugging experience by ensuring that whenZooKeeperRetriesControl rethrows an error, the original stack trace is preserved and shown instead of the stack trace from ZooKeeperRetriesControl itself. This helps users and developers quickly identify the root cause of errors related to ZooKeeper operations.How to use it
No specific user action is required. The improved error stack trace handling is applied automatically when using ZooKeeper-related features in ClickHouse that internally utilizeZooKeeperRetriesControl.