当我尝试同时在两个不同的事务块中更新import json
import os
import base64
import boto3
kms = boto3.client('kms')
encryption_context = {"PARAMETER_ARN": os.environ.get('ENCRYPTION_CONTEXT')}
credentials_encrypted = os.environ.get('ENCRYPTED_CREDENTIALS')
credentials_blob = base64.b64decode(credentials_encrypted)
credentials = kms.decrypt(CiphertextBlob=credentials_blob, EncryptionContext=encryption_context)['Plaintext'].decode('utf-8')
时,出现以下错误:large object
,我发现这很奇怪,因为tuple concurrently updated
通常允许并发事务更新。不允许在大型对象上进行此类更新吗?