Overview
ob_storage_s3_url_encode_type specifies whether the URL encoding method used when sending requests over S3 complies with the RFC 3986 standard.
Privilege requirements
Query parameters
Both the
systenant and all user tenants can query this parameter using theSHOW PARAMETERSstatement or theGV$OB_PARAMETERSview.Modify parameters
Only the
systenant can modify this parameter. User tenants cannot modify it.
Attributes
Attribute |
Description |
|---|---|
| Parameter type | String |
| Default Value | compliantRfc3986Encoding |
| Value range |
|
| Modifiable | Yes, you can use theALTER SYSTEM SETStatement modification. |
| Whether to restart the OBServer node for the change to take effect | No, the setting takes effect immediately. |
Usage instructions
This parameter applies to some object storages that are compatible with the S3 protocol but may not support the default URL encoding method of the AWS S3 SDK. For related operations and examples, see Prepare for log archiving.
Configuration example
Set the URL encoding method for S3 requests to be compatible with the RFC 3986 standard.
obclient> ALTER SYSTEM SET ob_storage_s3_url_encode_type='compliantRfc3986Encoding';