mirror of
https://github.com/scylladb/scylladb.git
synced 2026-06-03 21:47:10 +00:00
The list_snapshot API, uses http stream to stream the result to the caller. It needs to keep all objects and stream alive until the stream is closed. This patch adds do_with to hold these objects during the lifetime of the function. Fixes #5752