mirror of
https://github.com/cubefs/cubefs.git
synced 2026-08-02 02:00:56 +00:00
fix(meta): Adjust the level of some logs in updateVolumes. #1000044602
Signed-off-by: zhumingze <zhumingze@oppo.com>
This commit is contained in:
parent
31585bd930
commit
b22ef23cc0
@ -130,7 +130,7 @@ func (m *metadataManager) getDataPartitions(volName string) (view *proto.DataPar
|
||||
func (m *metadataManager) getVolumeView(volName string) (view *proto.SimpleVolView, err error) {
|
||||
view, err = masterClient.AdminAPI().GetVolumeSimpleInfo(volName)
|
||||
if err != nil {
|
||||
log.LogErrorf("action[getVolumeView]: failed to get view of volume %v", volName)
|
||||
log.LogWarnf("action[getVolumeView]: failed to get view of volume %v", volName)
|
||||
}
|
||||
return
|
||||
}
|
||||
@ -157,7 +157,7 @@ func (m *metadataManager) updateVolumes() {
|
||||
vol := k.(string)
|
||||
dataView, volView, err := m.getVolumeUpdateInfo(vol)
|
||||
if err != nil {
|
||||
log.LogErrorf("action[updateVolumes]: failed to update volume %v err %v", vol, err)
|
||||
log.LogWarnf("action[updateVolumes]: failed to update volume %v err %v", vol, err)
|
||||
return true
|
||||
}
|
||||
dataViews[vol] = dataView
|
||||
|
||||
Loading…
Reference in New Issue
Block a user