跳转到主内容

StorageGRID 在 Cassandra TimeoutException 后对 S3 PUT 请求返回 HTTP 503

Views:
14
Visibility:
Public
Votes:
0
Category:
storagegrid
Specialty:
sgrid
Last Updated:

适用于

  • NetApp StorageGRID
  • 处理大于正常值的 API 请求

问题描述

  • S3 PUT 请求因 HTTP 503 失败
  • bycast.log显示在Cassandra TimeoutException之后返回 HTTP 503

OBDI ^RDY 2023-03-31T07:40:42.290936| WARNING  0236 7521f267ce24b9c OBDI: checkForPreExistingObject Cassandra TimeoutException (Failed to execute cql at consistency TWO: SELECT event_time, event, last_access_time, object_lock_mode, object_lock_retain_until_time, object_lock_legal_hold, user_metadata, writetime(user_metadata), content_type, writetime(content_type), restore_start_time, restore_expiry_time, retier_time, object_partially_tiered FROM storagegrid.object_by_uuid WHERE uuid = <UUID> - Cassandra Driver Error(Read timeout):'Operation timed out - received only 2 responses.' Detailed Info:[consistency: ALL, responses_received: 2, responses_required: 3, data_present: 1])
OBDI ^RDY 2023-03-31T07:40:42.290959| WARNING  1271 7521f267ce24b9c OBDI: Failed to lookup object 'Failed to execute cql at consistency TWO: SELECT event_time, event, last_access_time, object_lock_mode, object_lock_retain_until_time, object_lock_legal_hold, user_metadata, writetime(user_metadata), content_type, writetime(content_type), restore_start_time, restore_expiry_time, retier_time, object_partially_tiered FROM storagegrid.object_by_uuid WHERE uuid = <UUID> - Cassandra Driver Error(Read timeout):'Operation timed out - received only 2 responses.' Detailed Info:[consistency: ALL, responses_received: 2, responses_required: 3, data_present: 1]'
S3RQ %DED 2023-03-31T07:40:44.087205| NOTICE   0089 7521f267ce24b9c S3RQ: S3 error response: RequestId=1680248429898354, TraceId=7521f267ce24b9c, Resource=<PATH>, HTTP Method=PUT, HTTP Status Code=503, X-Forwarded-For: '<IP>', ErrorMsg=ServiceUnavailable, ErrorType=Client, CustomErrorMessage={<none>}, Details={<none>}

  • Cassandra system.log 表示 ReadTimeoutException 多次

 INFO [ReadStage-52] 2023-03-31 07:40:07,218 NoSpamLogger.java (line 94) Maximum memory usage reached (33554432), cannot allocate chunk of 1048576
ERROR [ReadRepairStage:3806] 2023-03-31 07:40:42,020 CassandraDaemon.java (line 231) Exception in thread Thread[ReadRepairStage:3806,5,main]
org.apache.cassandra.exceptions.ReadTimeoutException: Operation timed out - received only 1 responses.

 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.