{
"apiKey": 100,
"type": "request",
"listeners": ["controller"],
"name": "DisklessDescribeFilesRequest",
// Version 0 is the initial version.
"validVersions": "0",
"flexibleVersions": "0+",
"fields": [
{ "name": "Files", "type": "[]DisklessDescribeFileEntry", "versions": "0+",
"about": "Each file to describe.", "fields": [
{ "name": "ObjectKey", "type": "string", "versions": "0+", "mapKey": true,
"about": "The object key identifying the file in object storage." }
]},
{ "name": "TimeoutMs", "type": "int32", "versions": "0+", "default": "60000",
"about": "How long to wait in milliseconds before timing out the request." }
]
}
{
"apiKey": 100,
"type": "response",
"name": "DisklessDescribeFilesResponse",
// Version 0 is the initial version.
"validVersions": "0",
"flexibleVersions": "0+",
"fields": [
{ "name": "ThrottleTimeMs", "type": "int32", "versions": "0+", "ignorable": true,
"about": "The duration in milliseconds for which the request was throttled due to a quota violation, or zero if the request did not violate any quota." },
{ "name": "Files", "type": "[]DisklessDescribeFileResult", "versions": "0+",
"about": "Results for each file.", "fields": [
{ "name": "ObjectKey", "type": "string", "versions": "0+", "mapKey": true,
"about": "The object key identifying the file in object storage." },
{ "name": "ErrorCode", "type": "int16", "versions": "0+",
"about": "The error code, or 0 if there was no error." },
{ "name": "ErrorMessage", "type": "string", "versions": "0+", "nullableVersions": "0+", "ignorable": true, "default": "null",
"about": "The error message, or null if there was no error." },
{ "name": "HasLiveBatches", "type": "bool", "versions": "0+",
"about": "True if the file still has live batches tracked by this coordinator." }
]}
]
} |