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
ob_storage_s3_url_encode_type specifies whether to use the URL encoding method that is compatible with the RFC 3986 standard when an S3 request is sent.
Privilege requirements
Query the parameter
The
systenant and all user tenants can query this parameter by using theSHOW PARAMETERSstatement or theGV$OB_PARAMETERSview.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, see Prepare for log archiving.
Examples
Set the URL encoding method to be compatible with the RFC 3986 standard when an S3 request is sent.
obclient> ALTER SYSTEM SET ob_storage_s3_url_encode_type='compliantRfc3986Encoding';