fix(meta): adjust concurrent conflict errors to warnings #1000028960

Signed-off-by: clinx <chenlin1@oppo.com>
This commit is contained in:
clinx 2025-04-08 14:30:56 +08:00 committed by zhumingze1108
parent 940d72659d
commit 8fbab026ff
2 changed files with 2 additions and 2 deletions

View File

@ -2080,7 +2080,7 @@ func (i *Inode) AppendExtentWithCheck(param *AppendExtParam) (delExtents []proto
refFunc := func(key *proto.ExtentKey) { i.insertEkRefMap(param.mpId, key) }
delExtents, status = extents.AppendWithCheck(i.Inode, param.ek, refFunc, param.discardExtents)
if status != proto.OpOk {
log.LogErrorf("action[AppendExtentWithCheck] mpId[%v].status [%v]", param.mpId, status)
log.LogWarnf("action[AppendExtentWithCheck] mpId[%v].status [%v]", param.mpId, status)
return
}
// TODO:support hybridcloud

View File

@ -134,7 +134,7 @@ func (mp *metaPartition) fsmCreateDentry(dentry *Dentry,
log.LogDebugf("action[fsmCreateDentry.ver] mp[%v] no need repeat create new one [%v]", mp.config.PartitionId, dentry)
return
}
log.LogErrorf("action[fsmCreateDentry.ver] mp[%v] dentry already exist [%v] and diff with the request [%v]", mp.config.PartitionId, d, dentry)
log.LogWarnf("action[fsmCreateDentry.ver] mp[%v] dentry already exist [%v] and diff with the request [%v]", mp.config.PartitionId, d, dentry)
status = proto.OpExistErr
return
}