一方のサイトが停止している間、StorageGRIDが「Cannot achieve strong consistency during update while one site is down」でエラーを返す
環境
- StorageGRID
- サイト間レプリケーションリンクが停止したマルチサイトStorageGRID環境
問題
- StorageGRID内の特定のS3バケットに対してGETまたはHEAD要求を実行するアプリケーションは、特にサイト間のレプリケーションリンクが停止しているか不安定な期間に、HTTP 500内部サーバーエラー応答を受信します。
- オブジェクトのリーガルホールドの有効化(PutObjectLegalHold)、オブジェクトの保持の更新(PutObjectRetention)、バケットのオブジェクトロック設定の設定(PutBucketObjectLockConfiguration)中に、クライアントソフトウェアは"Cannot achieve strong consistency during update error"というエラーを受信します
bycast.logは以下を示しています:
Feb 14 04:09:54 sg-sn01-cdc ADE: |12534264 2081719201 S3RQ ^RDY 2024-02-14T04:09:54.585354| NOTICE 0103 ec975d8c514f5703 S3RQ: S3 error response: RequestId=1707883790968210, TraceId=ec975d8c514f5703, Resource=/daxxx-atnf/000061xxv0xx/data/?legal-hold, HTTP Method=PUT, HTTP Status Code=500, X-Forwarded-For: '1xx.83.xxx.xx', ErrorMsg=InternalError, ErrorType=Client, CustomErrorMessage={Cannot achieve strong consistency during update.}, Details={BEGIN UPDATE storagegrid.object_by_uuid USING TIMESTAMP ? SET object_lock_legal_hold = ? WHERE uuid = ?; UPDATE storagegrid.object_by_uuid SET last_access_time = ? WHERE uuid = ?; APPLY BATCH - Cassandra Driver Error(Unavailable):'Cannot achieve consistency level EACH_QUORUM in DC group20' Detailed Info:[consistency: EACH_QUORUM, responses_received: 0, responses_required: 2]}