mirror of
https://github.com/scylladb/scylladb.git
synced 2026-06-05 22:43:15 +00:00
This loop may cause pretty long reactor stalls as seen in https://github.com/scylladb/scylla/issues/8900 Apparently output_stream<CharType>::slow_write returns a ready future and no yielding is considered, so add a check in the top level loop (that must already be called from a seastar thread). Fixes #8900 Signed-off-by: Benny Halevy <bhalevy@scylladb.com> Message-Id: <20210622152206.156302-1-bhalevy@scylladb.com>