mirror of
https://github.com/dragonflydb/dragonfly.git
synced 2025-05-11 02:15:45 +02:00
feat: cluster migrations restarts immediately if timeout happens (#4081)
* feat: cluster migrations restarts immediately if timeout happens * feat: add DEBUG MIGRATION PAUSE command
This commit is contained in:
parent
3c65651c69
commit
43c83d29fa
15 changed files with 199 additions and 70 deletions
|
@ -167,7 +167,7 @@ void JournalStreamer::ThrottleIfNeeded() {
|
|||
if (status == std::cv_status::timeout) {
|
||||
LOG(WARNING) << "Stream timed out, inflight bytes/sent start: " << inflight_start << "/"
|
||||
<< sent_start << ", end: " << in_flight_bytes_ << "/" << total_sent_;
|
||||
cntx_->ReportError(make_error_code(errc::stream_timeout));
|
||||
cntx_->ReportError("JournalStreamer write operation timeout");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue