Skip to content

2.25.2.0-b332

@asharma-yb asharma-yb tagged this 15 Apr 04:51
Summary:
Add a pre-check for NFS based full backups.
The check is behind `yb.backup.enableNfsPrecheck` runtime flag and enabled by default.

For each table in the Backup params, we take into account the SST size and WAL size.
We also add a buffer of around 500 MBs.

For single region config, we check the space available on a random tserver.
For multi region configs, we check the space available on a tserver from each region.

Test Plan: Manual verified that the backup task fails if the space required is < the required space.

Reviewers: vkumar

Reviewed By: vkumar

Differential Revision: https://phorge.dev.yugabyte.com/D42786
Assets 2
Loading