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 the URL encoding method used when sending requests to S3 is compatible with the RFC 3986 standard.
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 | compliantRfc3986Encoding
NoteFor V4.6.x, the default value is changed from |
| 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 that is partially compatible with the S3 protocol but may 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 used when sending requests to S3 to be compatible with the RFC 3986 standard.
obclient> ALTER SYSTEM SET ob_storage_s3_url_encode_type='compliantRfc3986Encoding';
