-
- Downloads
chore: trigger gc if disk at minimum free space limit
Add check to see if the remaining free space is too low, and if so that should trigger GC to run. - New config value: Datastore.DiskMinFreePercent - Default value: 95 If the percentage of free space on the datastore volume drops below this amount than run GC. The percentage must be from 0 to 100. A value of 0 (unset) results in the default being used. A value of < 0 or > 100 disables this check.
Showing
- config/datastore.go 1 addition, 0 deletionsconfig/datastore.go
- config/init.go 1 addition, 0 deletionsconfig/init.go
- core/corerepo/gc.go 60 additions, 12 deletionscore/corerepo/gc.go
- core/corerepo/gc_test.go 22 additions, 0 deletionscore/corerepo/gc_test.go
- go.mod 1 addition, 0 deletionsgo.mod
- go.sum 2 additions, 0 deletionsgo.sum
Loading
Please register or sign in to comment