Hello everyone, here is the weekly report for BeyondStorage, range from 2021-05-31 to 2021-06-04.
As we mentioned in last week's report, @Xuanwo proposed GSP-87: Feature Gates to handle behavior consistency for go-storage and implemented in specs and go-storage. Based on these, all the basic implementation for different services are finished this week. Specific behaviors of interfaces in different services need further discussion.
For more details, please refer to Implement GSP-87 Feature Gates.
We had config strings like
s3://bucket_name?access_key=xxxx&secret_key=xxxx before but deprecated for some reasons.
To illustrate its feasibility, @xxchan implemented it in go-storage and go-service-qingstor. In addition, he provided an alternative way which use a deserializer instead of implementing parse functions ourselves. You can track here for details.
This proposal is still in discussion, for more details, please refer to GSP-90: Parse Pairs from String.
Currently, we use a function named
formatError in generated code to turn SDK errors into our errors, as defined in GSP-47. And introduced
InternalError to add support for recognizing errors defined in go-storage in GSP-51.
Network errors are common and should be expected. Besides, there's a common need to retry a network error. So we should provide network error codes.
@xxchan proposed GSP-60: Network Error and Retryable Server-side Errors several days before to add the global error codes. A new conversation on the proposal came out this week.
Please keep an eye on GSP-60: Network Error and Retryable Server-side Errors to follow the progress.
For more details, please refer to https://beyondstorage.io/community/events/ospp-summer-2021.