Note
- For V4.3.x, this parameter is available starting with V4.3.3.
- For V4.2.1, this parameter is available starting with V4.2.1 BP9. For other V4.2.x versions, this parameter is available starting with V4.2.5.
Description
The ob_storage_s3_url_encode_type parameter specifies whether the URL encoding method used when an S3 request is sent is compatible with the RFC 3986 standard.
Privilege requirements
Query the parameter
The
systenant and all user tenants can use theSHOW PARAMETERSstatement or theGV$OB_PARAMETERSview to query this parameter.Modify the parameter
Only the
systenant can modify this parameter. User tenants cannot modify this parameter.
Attributes
| Attribute | Description |
|---|---|
| Type | String |
| Default value | default |
| Value range |
|
| Modifiable | Yes. You can use the ALTER SYSTEM SET statement to modify the parameter. |
| Effective upon OBServer node restart | No. The setting takes effect immediately. |
Considerations
This parameter is applicable to object storage services that are compatible with the S3 protocol but do not support the URL encoding method used by the default AWS S3 SDK. For more information about how to use this parameter, see Prepare for log archiving.
Examples
Set the URL encoding method used when an S3 request is sent to be compatible with the RFC 3986 standard.
obclient> ALTER SYSTEM SET ob_storage_s3_url_encode_type='compliantRfc3986Encoding';