CAIQUM-6398: AIQUM 单个文件还原操作错误:项目过多。所有内容都会被还原
问题描述
- 通过 AIQUM 使用卷还原操作时,加载超过 995 个文件的目录将不会加载任何内容。
错误:
Too many items to display. All contents of specified directory will be restored.
- 如果取消选择了"列出最多995个文件和目录"复选框,则会在图形用户界面中抛出错误:
Invalid get request with cause : "The value \"2147483640\" is invalid for field \"max_records\" (<1..1000000>)
- AIQUM 日志显示以下错误:
ocumserver.log:
ERROR [default task-21] [service.logging.SimpleRemoteLoggingService|logOnServer] [c.n.n.c.u.a.e.ApplicationErrorHandler] Invalid get request with cause : "The value \"2147483640\" is invalid for field \"max_records\" (<1..1000000>)"
com.google.gwt.core.shared.SerializableThrowable: Invalid get request with cause : "The value \"2147483640\" is invalid for field \"max_records\" (<1..1000000>)"
rest outbound.log
DEBUG [default task-2] [service.storage.volume.SnapshotBrowserItemLiveListService|getItems] Response : OntapRestResponse
{ response: Response\{protocol= http/1.1, code=400, message=Bad Request, url=https://<cluster_name>/api/storage/volumes/<id>/files/<snapshot_name>max_records=2147483640&fields=*}
body: {"error":{"message":"The value \"2147483640\" is invalid for field \"max_records\" (<1..1000000>)","code":"262197","target":"max_records"}}
locationHeader: null
job: false
}
ERROR [] [default task-29688] [service.logging.SimpleRemoteLoggingService|logOnServer] [c.n.n.c.u.a.e.ApplicationErrorHandler] java.lang.NullPointerException
com.google.gwt.core.shared.SerializableThrowable: java.lang.NullPointerException
- 如果我们选择还原整个目录,还原操作仍将工作,但是,如果目录包含超过995个文件,则选择要还原的单个文件将失败