mirror of
https://github.com/cubefs/cubefs.git
synced 2026-08-02 02:00:56 +00:00
fix(metanode): hybrid cloud if storage class for inode is already the same
with request for UpdateExtentKeyAfterMigration, return nil close:#22112938 Signed-off-by: chihe <chihe@oppo.com>
This commit is contained in:
parent
309d89f1a3
commit
cb588b1d42
@ -1161,7 +1161,7 @@ func (mp *metaPartition) UpdateExtentKeyAfterMigration(req *proto.UpdateExtentKe
|
||||
err = fmt.Errorf("inode(%v) storageClass(%v) is already the same with request storageClass",
|
||||
ino.Inode, ino.StorageClass)
|
||||
log.LogWarnf("[UpdateExtentKeyAfterMigration] %v", err.Error())
|
||||
p.PacketErrorWithBody(proto.OpArgMismatchErr, []byte(err.Error()))
|
||||
p.PacketErrorWithBody(proto.OpOk, []byte(err.Error()))
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user