Skip to content

Commit

Permalink
doc: add mc share doc (#5346)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhijian-pro authored Dec 6, 2024
1 parent 607ec6f commit ad85c0f
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 3 deletions.
6 changes: 6 additions & 0 deletions docs/en/guide/gateway.md
Original file line number Diff line number Diff line change
Expand Up @@ -571,6 +571,12 @@ However, in a multi-server gateway setup, the situation is slightly different. T
Currently, JuiceFS S3 Gateway's cache refresh strategy involves forcibly updating the in-memory cache every 5 minutes (certain operations also trigger cache update operations). This ensures that configuration changes take effect within a maximum of 5 minutes in a multi-server setup. You can adjust this time by using the `--refresh-iam-interval` parameter. If immediate effect on a specific gateway is required, you can manually restart it.

### Generate a pre-signed URL

The JuiceFS S3 gateway supports the use of the `mc share` command to manage the pre-signed urls of objects on the MinIO bucket for downloading and uploading objects.

Please refer to the `mc share` usage help document [here](https://min.io/docs/minio/linux/reference/minio-mc/mc-share.html#description).

### Bucket event notifications

You can use bucket event notifications to monitor events happening on objects within a storage bucket and trigger certain actions in response.
Expand Down
2 changes: 1 addition & 1 deletion docs/en/reference/how_to_set_up_metadata_engine.md
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ Additional parameters can be appended to the metadata URL. More details can be s

>[MariaDB](https://mariadb.org) is an open source branch of MySQL, maintained by the original developers of MySQL. Because MariaDB is highly compatible with MySQL, there is no difference in set up Meta engine, the parameters and settings are exactly the same.
>
>[OceanBase](https://en.oceanbase.com/) is a self-developed distributed relational database designed for processing massive data and high-concurrency transactions. It features high performance, strong consistency, and high availability. At the same time, OceanBase is highly compatible with MySQL, and there is no difference in the method of setting the metadata engine.
>[OceanBase](https://en.oceanbase.com) is a self-developed distributed relational database designed for processing massive data and high-concurrency transactions. It features high performance, strong consistency, and high availability. At the same time, OceanBase is highly compatible with MySQL, and there is no difference in the method of setting the metadata engine.
### Create a file system

Expand Down
2 changes: 1 addition & 1 deletion docs/en/tutorials/aliyun.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ If you must access the database through the public network, you can enhance the
On the other hand, if you cannot successfully connect to the cloud database through the public network, you can check the whitelist of the database.

| Database | Redis | MySQL/PostgreSQL | SQLite | OceanBase |
| :-------------: | :-----------------------------------------------------: | :----------------------------------------------------------: | :----------------------------------------------------------: | :----------------------------------------------------------: |
| :-------------: | :-----------------------------------------------------: | :----------------------------------------------------------: | :----------------------------------------------------------: | :----------------------------------------------------------: |
| **Performance** | High | Medium | Low | High |
| **Management** | High | Medium | Low | Medium |
| **Reliability** | Low | Medium | Low | High |
Expand Down
8 changes: 8 additions & 0 deletions docs/zh_cn/guide/gateway.md
Original file line number Diff line number Diff line change
Expand Up @@ -571,6 +571,14 @@ JuiceFS S3 网关的所有管理 API 的更新操作都会立即生效并且持

目前 JuiceFS S3 网关的缓存刷新策略是每 5 分钟强制更新内存缓存(部分操作也会触发缓存更新操作),这样保证多机情况下配置生效最长不会超过 5 分钟,可以通过 `--refresh-iam-interval` 参数来调整该时间。如果希望某个 S3 网关立即生效,可以尝试手动将其重启。

### 生成预签名 URL

JuiceFS S3 网关支持使用 `mc share` 命令来管理 MinIO 存储桶上对象的预签名 URL,用于下载和上传对象。

`mc share` 使用详情请参考 [这里](https://minio.org.cn/docs/minio/linux/reference/minio-mc/mc-share.html#)

```Shell
### 桶事件通知
桶事件通知功能可以用来监视存储桶中对象上发生的事件,从而触发一些行为。
Expand Down
2 changes: 1 addition & 1 deletion docs/zh_cn/reference/how_to_set_up_metadata_engine.md
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ juicefs format \

>[MariaDB](https://mariadb.org) 是 MySQL 的一个开源分支,由 MySQL 原始开发者维护并保持开源,与 MySQL 高度兼容,在设置元数据引擎方法上也没有任何差别。
>
>[OceanBase](https://www.oceanbase.com/)是一款自主研发的分布式关系型数据库,专为处理海量数据和高并发事务而设计,具备高性能、强一致性和高可用性的特点。同时,OceanBase与 MySQL 高度兼容,在设置元数据引擎方法上也没有任何差别。
>[OceanBase](https://www.oceanbase.com)是一款自主研发的分布式关系型数据库,专为处理海量数据和高并发事务而设计,具备高性能、强一致性和高可用性的特点。同时,OceanBase 与 MySQL 高度兼容,在设置元数据引擎方法上也没有任何差别。
### 创建文件系统

Expand Down

0 comments on commit ad85c0f

Please sign in to comment.