Skip to content
This repository has been archived by the owner on May 10, 2022. It is now read-only.

feat: handle ERR_DISK_INSUFFICIENT #170

Merged
merged 4 commits into from
Oct 26, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1932,6 +1932,9 @@ public void handleReplicaException(
case ERR_PARENT_PARTITION_MISUSED:
message = " The partition split finished, is updating config!";
break;
case ERR_DISK_INSUFFICIENT:
message = " The replica server disk space is insufficient";
break;
}
promise.setFailure(
new PException(new ReplicationException(op.rpc_error.errno, header + message)));
Expand Down