mirror of
https://github.com/cubefs/cubefs.git
synced 2026-08-02 02:00:56 +00:00
fix(meta): adjust concurrent conflict errors to warnings #1000028960
Signed-off-by: clinx <chenlin1@oppo.com>
This commit is contained in:
parent
940d72659d
commit
8fbab026ff
@ -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
|
||||
|
||||
@ -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
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user