-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BR download SST consider disk usage and report error if almost full #17224
Comments
/cc @LykxSassinator |
/label severity:major |
@BornChanger: The label(s) In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the ti-community-infra/tichi repository. |
/label affects-7.1 |
/label affects-7.5 |
/label affects-8.1 |
/component backup-restore |
close #17224 Add a disk usage check when execute `download` and `apply` RPC from br. When the disk is not `Normal`, the request would be rejected. Signed-off-by: hillium <[email protected]> Co-authored-by: RidRisR <[email protected]>
close tikv#17224 Signed-off-by: ti-chi-bot <[email protected]>
close #17224 Add a disk usage check when execute `download` and `apply` RPC from br. When the disk is not `Normal`, the request would be rejected. Signed-off-by: ti-chi-bot <[email protected]> Signed-off-by: hillium <[email protected]> Co-authored-by: ris <[email protected]> Co-authored-by: hillium <[email protected]>
close tikv#17224 Signed-off-by: ti-chi-bot <[email protected]>
close #17224 Add a disk usage check when execute `download` and `apply` RPC from br. When the disk is not `Normal`, the request would be rejected. Signed-off-by: Jianjun Liao <[email protected]> Signed-off-by: hillium <[email protected]> Co-authored-by: Jianjun Liao <[email protected]> Co-authored-by: hillium <[email protected]>
close tikv#17224 Add a disk usage check when execute `download` and `apply` RPC from br. When the disk is not `Normal`, the request would be rejected. Signed-off-by: ti-chi-bot <[email protected]> Signed-off-by: hillium <[email protected]> Co-authored-by: ris <[email protected]> Co-authored-by: hillium <[email protected]>
Problem
In #10537, tikv introduces the disk usage detection mechanism. the overview is :
During the raft proposal command, we will detect the disk usage, If the disk is full, some write commands cannot be processed and report the DiskFull error to the upper level. It avoids the disk full situation occurring in some scenarios.
But in BR restore it may not work well. BR restore includes two steps,
DownloadSST
thenIngestSST
, if the disk is full, theIngestSST
may fail with the upper check. butDownloadSST
still can work because it does not need to do a raft proposal. like here is tiflash's disk is full during BR restoreProposal
In order to prevent the disk full during the BR restore, we may let
DownloadSST
also consider the disk usage like #10537.The text was updated successfully, but these errors were encountered: