fix(blobnode): use the core disk config after the fix InitConfig

with: #1000233594

Signed-off-by: mawei029 <mawei2@oppo.com>
This commit is contained in:
mawei029 2025-07-16 17:19:19 +08:00 committed by slasher
parent a548e93f81
commit dfd14751b1

View File

@ -65,7 +65,7 @@ func (s *Service) ChunkCompact(c *rpc.Context) {
return
}
if !cs.NeedCompact(ctx) && !s.Conf.DiskConfig.AllowForceCompact {
if !cs.NeedCompact(ctx) && !ds.GetConfig().AllowForceCompact {
span.Infof("no need compact vuid:%v. skip", args.Vuid)
return
}