Skip to content

Commit

Permalink
Update src/server/server.cc
Browse files Browse the repository at this point in the history
  • Loading branch information
caipengbo authored May 16, 2024
1 parent ddd7771 commit e9346f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/server.cc
Original file line number Diff line number Diff line change
Expand Up @@ -809,7 +809,7 @@ void Server::cron() {
// when encountering no space error and disk quota exceeded error.
if (counter != 0 && counter % 600 == 0 && storage->IsDBInRetryableIOError()) {
auto s = storage->GetDB()->Resume();
if (status.ok()) {
if (s.ok()) {
LOG(WARNING) << "[server] Successfully resumed DB after retryable IO error";
storage->SetDBInRetryableIOError(false);
} else {
Expand Down

0 comments on commit e9346f0

Please sign in to comment.