Skip to content

Commit

Permalink
Update some links (apache#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
acelyc111 committed Nov 23, 2023
1 parent 1f204f6 commit eb7354f
Show file tree
Hide file tree
Showing 10 changed files with 19 additions and 20 deletions.
2 changes: 1 addition & 1 deletion _data/docs_menu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
- name: title_cpp-client
link: /clients/cpp-client
- name: title_go-client
link: https://github.com/XiaoMi/pegasus-go-client
link: https://github.com/apache/incubator-pegasus/tree/master/go-client
- name: title_python2-client
link: /clients/python2-client
- name: title_python3-client
Expand Down
2 changes: 1 addition & 1 deletion _docs/zh/administration/rebalance.md
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ Succeed count: 1
Failed count: 0
```

[remote_command](https://github.com/XiaoMi/rdsn/blob/a8c2d46568889902df820ac65e045a1e78aa84d4/include/dsn/tool-api/command_manager.h)是pegasus的一个特性, 允许一个server注册一些命令,然后命令行可以通过rpc调用这些命令。这里我们使用**help**来访问meta server leader,获取meta server端支持的所有命令。例子中已经略掉了所有不相关的行,只留下以"meta.lb"开头的所有和负载均衡相关的命令。
[remote_command](https://github.com/apache/incubator-pegasus/blob/master/src/utils/command_manager.h)是pegasus的一个特性, 允许一个server注册一些命令,然后命令行可以通过rpc调用这些命令。这里我们使用**help**来访问meta server leader,获取meta server端支持的所有命令。例子中已经略掉了所有不相关的行,只留下以"meta.lb"开头的所有和负载均衡相关的命令。

由于文档和代码的不一致问题,文档里不一定覆盖了当前meta所有的lb控制命令。如果想获取最新的命令列表,请用最新的代码手动执行一下help。

Expand Down
11 changes: 5 additions & 6 deletions _docs/zh/clients/clients.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,8 @@ permalink: clients/index.html
Pegasus目前提供以下多种客户端支持:

| 编程语言 | 项目链接 |
| Java | <https://github.com/XiaoMi/pegasus-java-client> |
| Scala | <https://github.com/XiaoMi/pegasus-scala-client> |
| Go | <https://github.com/XiaoMi/pegasus-go-client> |
| Python2 | <https://github.com/XiaoMi/pegasus-python-client> |
| Python3 | <https://github.com/XiaoMi/pegasus-python-client/tree/python3> |
| NodeJs | <https://github.com/XiaoMi/pegasus-nodejs-client.git> |
| Java | <https://github.com/apache/incubator-pegasus/tree/master/java-client> |
| Scala | <https://github.com/apache/incubator-pegasus/tree/master/scala-client> |
| Go | <https://github.com/apache/incubator-pegasus/tree/master/go-client> |
| Python3 | <https://github.com/apache/incubator-pegasus/tree/master/python-client> |
| NodeJs | <https://github.com/apache/incubator-pegasus/tree/master/nodejs-client> |
4 changes: 2 additions & 2 deletions _docs/zh/clients/java-client.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ permalink: clients/java-client

# 获取Java客户端

项目地址:[Pegasus Java Client](https://github.com/XiaoMi/pegasus-java-client)
项目地址:[Pegasus Java Client](https://github.com/apache/incubator-pegasus/tree/master/java-client)

下载:

```bash
git clone https://github.com/XiaoMi/pegasus-java-client.git
git clone https://github.com/apache/incubator-pegasus.git
cd pegasus-java-client
```

Expand Down
2 changes: 1 addition & 1 deletion _docs/zh/clients/node-client.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ permalink: clients/node-client
---

# 安装NodeJs客户端
项目地址:[Pegasus NodeJS Client](https://github.com/XiaoMi/pegasus-nodejs-client)
项目地址:[Pegasus NodeJS Client](https://github.com/apache/incubator-pegasus/tree/master/nodejs-client)
下载并将客户端依赖添加到package.json中:
`npm install pegasus-nodejs-client --save`
# 创建/关闭客户端
Expand Down
4 changes: 2 additions & 2 deletions _docs/zh/clients/python3-client.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ permalink: clients/python3-client

## 项目地址

<https://github.com/XiaoMi/pegasus-python-client>
<https://github.com/apache/incubator-pegasus/tree/master/python-client>

## 版本要求

Expand All @@ -24,7 +24,7 @@ pegasus python3 client 从 python2-client 改动而来,对原有的接口参

### 示例

完整的示例请参考[sample](https://github.com/XiaoMi/pegasus-python-client/blob/python3/sample.py)。以下是简单的示例:
完整的示例请参考[sample](https://github.com/apache/incubator-pegasus/tree/master/python-client/sample.py)。以下是简单的示例:

```
#!/usr/bin/env python
Expand Down
8 changes: 4 additions & 4 deletions _docs/zh/clients/scala-client.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ permalink: clients/scala-client


# 获取客户端
项目地址:[Pegasus scala client](https://github.com/xiaomi/pegasus-scala-client)
项目地址:[Pegasus scala client](https://github.com/apache/incubator-pegasus/tree/master/scala-client)
下载:
```bash
git clone https://github.com/XiaoMi/pegasus-scala-client.git
cd pegasus-scala-client
git clone git@github.com:apache/incubator-pegasus.git
cd incubator-pegasus/scala-client
```
选择所使用的版本并构建,建议使用master版本。同时注意,scala客户端构建依赖[Java客户端](https://github.com/XiaoMi/pegasus-java-client),请参考[获取Java客户端](/clients/java-client#获取java客户端)在项目中添加Java依赖。你可以打包成Jar包进行使用:
选择所使用的版本并构建,建议使用master版本。同时注意,scala客户端构建依赖[Java客户端](https://github.com/apache/incubator-pegasus/tree/master/java-client),请参考[获取Java客户端](/clients/java-client#获取java客户端)在项目中添加Java依赖。你可以打包成Jar包进行使用:
```bash
sbt package
```
Expand Down
2 changes: 1 addition & 1 deletion _docs/zh/tools/shell.md
Original file line number Diff line number Diff line change
Expand Up @@ -746,7 +746,7 @@ USAGE: multi_get_range <hash_key> <start_sort_key> <stop_sort_key>
* `-y|--sort_key_filter_pattern`参数:指定SortKey的过滤模式串,空串相当于无过滤。
* `-n|--max_count`参数:指定最多读取的数据条数。
* `-i|--no_value`参数:指定是否只返回HashKey和SortKey,不返回Value数据,默认为false。
* `-r|--reverse`参数:是否逆向扫描数据库,从后往前查找数据,但是查找得到的结果在list中还是按照SortKey从小到大顺序存放。该参数从[v1.8.0版本](https://github.com/xiaomi/pegasus/releases/tag/v1.8.0)开始支持。
* `-r|--reverse`参数:是否逆向扫描数据库,从后往前查找数据,但是查找得到的结果在list中还是按照SortKey从小到大顺序存放。该参数从[v1.8.0版本](https://github.com/apache/incubator-pegasus/releases/tag/v1.8.0)开始支持。

示例:
```
Expand Down
2 changes: 1 addition & 1 deletion _overview/en/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ lang: en
---

[PacificA]: https://www.microsoft.com/en-us/research/publication/pacifica-replication-in-log-based-distributed-storage-systems/
[pegasus-rocksdb]: https://github.com/xiaomi/pegasus-rocksdb
[pegasus-rocksdb]: https://rocksdb.org/
[hbase]: https://hbase.apache.org/

Apache Pegasus is a distributed key-value storage system which is designed to be:
Expand Down
2 changes: 1 addition & 1 deletion _overview/zh/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Apache Pegasus是一个分布式Key-Value存储系统,它的设计目标是具

- **高扩展性**:通过哈希分片实现分布式横向扩展。
- **强一致性**:通过[PacificA](https://www.microsoft.com/en-us/research/publication/pacifica-replication-in-log-based-distributed-storage-systems/)一致性协议保证。
- **高性能**:底层使用[RocksDB](https://github.com/xiaomi/pegasus-rocksdb)作为存储引擎。
- **高性能**:底层使用[RocksDB](https://rocksdb.org/)作为存储引擎。
- **简单易用**:基于Key-Value的良好接口。

## 背景
Expand Down

0 comments on commit eb7354f

Please sign in to comment.