Skip to main content

2021-22 Weekly Report

· 2 min read

Hello everyone, here is the weekly report for BeyondStorage, range from 2021-05-31 to 2021-06-04.

Library#

Feature Gates#

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.

Parse Pairs from String#

We had config strings like s3://bucket_name?access_key=xxxx&secret_key=xxxx before but deprecated for some reasons.

Passing string config is indeed more convenient, if not much. So @xxchan proposed GSP-90: Parse Pairs from String to use a registry mechanism for parsing pairs.

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.

Network Error and Retryable Server-side Errors#

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.

Community#

Summer 2021 of Open Source Promotion Plan#

Summer 2021 of Open Source Promotion Plan is now recruiting. We continued to receive some applications this week and all the applications are aggregating here.

For more details, please refer to https://beyondstorage.io/community/events/ospp-summer-2021.