При копировании некоторых файлов журнала (созданных с помощью команды gsutil compose):
gsutil -m cp -R gs://mybucket/PROD/ gs://mybucket/TEST/
мы сталкиваемся с множеством ошибок, подобных этой:
"errors":[
{
"domain":"usageLimits",
"reason":"rateLimitExceeded",
"message":"The total number of compose requests for this bucket's project exceeds the rate limit. Please reduce the rate of compose requests."
}
],
"code":429,
Выполняя gsutil stat по этим объектам, я вижу, что их Component-Count равен 972 и тому подобное.
Мы попытались пойти коротким путем:
gsutil setmeta -h "Component-Count:0" gs://mybucket/PROD/composite.log
но мы попали в:
CommandException: Invalid or disallowed header (component-count).
Only these fields (plus x-goog-meta-* fields) can be set or unset:
На самом деле, процесс копирования полностью выполнен, так что видеть все эти ошибки довольно неприятно.
Кто-нибудь знает, как установить количество компонентов на 0?