Compare commits

...

5 Commits

Author SHA1 Message Date
copilot-swe-agent[bot]
1eca538536 Use "this auto" instead of coroutine::lambda wrapper
Co-authored-by: tgrabiec <283695+tgrabiec@users.noreply.github.com>
2025-12-06 18:21:38 +00:00
copilot-swe-agent[bot]
1ad7a5e0f1 Revert false positives - only keep fix for hint_endpoint_manager.cc
Co-authored-by: tgrabiec <283695+tgrabiec@users.noreply.github.com>
2025-12-06 18:08:39 +00:00
copilot-swe-agent[bot]
6ed8f1a24b Fix additional lambda-coroutine fiasco in streaming/consumer.cc
Co-authored-by: tgrabiec <283695+tgrabiec@users.noreply.github.com>
2025-12-06 17:05:59 +00:00
copilot-swe-agent[bot]
a87e72004d Fix lambda-coroutine fiasco issues in 4 files
Co-authored-by: tgrabiec <283695+tgrabiec@users.noreply.github.com>
2025-12-06 17:01:45 +00:00
copilot-swe-agent[bot]
e7317e9f39 Initial plan 2025-12-06 16:50:52 +00:00

View File

@@ -248,7 +248,7 @@ future<db::commitlog> hint_endpoint_manager::add_store() noexcept {
// which is larger than the segment ID of the RP of the last written hint.
cfg.base_segment_id = _last_written_rp.base_id();
return commitlog::create_commitlog(std::move(cfg)).then([this] (commitlog l) -> future<commitlog> {
return commitlog::create_commitlog(std::move(cfg)).then([this] (this auto, commitlog l) -> future<commitlog> {
// add_store() is triggered every time hint files are forcefully flushed to I/O (every hints_flush_period).
// When this happens we want to refill _sender's segments only if it has finished with the segments he had before.
if (_sender.have_segments()) {