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个、则选择要还原的单个文件将失败