CAIQUM-6398: AIQUM single file restore operation error: Too many items. All contents will be restored
- Views:
- 192
- Visibility:
- Public
- Votes:
- 0
- Category:
- active-iq-unified-manager
- Specialty:
- om
- Last Updated:
- 4/24/2025, 1:00:35 PM
Issue
- When using volume restore operation via AIQUM, loading a directory with more than 995 files will not load any of the contents.
Error:
Too many items to display. All contents of specified directory will be restored.
- If the "List Maximum of 995 files and directories" checkbox is de-selected, then an error is thrown in the GUI:
Invalid get request with cause : "The value \"2147483640\" is invalid for field \"max_records\" (<1..1000000>)
- AIQUM logs show the following errors:
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
- Restore operation will still work if we choose to restore the whole directory, However, selecting a single file to restore will fail if the directory contains more than 995 files