mirror of
https://github.com/dragonflydb/dragonfly.git
synced 2025-05-10 18:05:44 +02:00
test: fix and unskip test_migration_timeout_on_sync (#4216)
This commit is contained in:
parent
90b4fea0d9
commit
dc04b196d5
2 changed files with 6 additions and 8 deletions
|
@ -88,7 +88,7 @@ size_t JournalStreamer::GetTotalBufferCapacities() const {
|
|||
|
||||
void JournalStreamer::Write(std::string_view str) {
|
||||
DCHECK(!str.empty());
|
||||
DVLOG(2) << "Writing " << str.size() << " bytes";
|
||||
DVLOG(3) << "Writing " << str.size() << " bytes";
|
||||
|
||||
size_t total_pending = pending_buf_.size() + str.size();
|
||||
|
||||
|
@ -132,7 +132,7 @@ void JournalStreamer::Write(std::string_view str) {
|
|||
void JournalStreamer::OnCompletion(std::error_code ec, size_t len) {
|
||||
DCHECK_GE(in_flight_bytes_, len);
|
||||
|
||||
DVLOG(2) << "Completing from " << in_flight_bytes_ << " to " << in_flight_bytes_ - len;
|
||||
DVLOG(3) << "Completing from " << in_flight_bytes_ << " to " << in_flight_bytes_ - len;
|
||||
in_flight_bytes_ -= len;
|
||||
if (ec && !IsStopped()) {
|
||||
cntx_->ReportError(ec);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue