This is an automated email from the ASF dual-hosted git repository.
ethanfeng pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/celeborn.git
The following commit(s) were added to refs/heads/main by this push:
new 5ac67737a [CELEBORN-1466][FOLLOWUP] Fix RaftPeerId generated by
command of raftMetaConf to use real PeerId in celeborn_ratis_shell.md
5ac67737a is described below
commit 5ac67737a606a03ea77b011d4308ac9035e7044a
Author: SteNicholas <[email protected]>
AuthorDate: Fri Sep 20 15:48:09 2024 +0800
[CELEBORN-1466][FOLLOWUP] Fix RaftPeerId generated by command of
raftMetaConf to use real PeerId in celeborn_ratis_shell.md
### What changes were proposed in this pull request?
Fix `RaftPeerId` generated by command of `raftMetaConf` to use real PeerId
for `local` command in `celeborn_ratis_shell.md` to sync document
[cli.md](https://github.com/apache/ratis/blob/ratis-3.0.1/ratis-docs/src/site/markdown/cli.md).
### Why are the changes needed?
Celeborn has already bumped Ratis version from 3.0.1 to 3.1.0. Ratis v3.1.0
has already fixed RaftPeerId generated by command of "raftMetaConf" to use real
PeerId in `raft-meta.conf` and store back to generated `new-raft-meta.conf`.
Backport: https://github.com/apache/ratis/pull/1060
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
No.
Closes #2748 from SteNicholas/CELEBORN-1466.
Authored-by: SteNicholas <[email protected]>
Signed-off-by: mingji <[email protected]>
---
docs/celeborn_ratis_shell.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/celeborn_ratis_shell.md b/docs/celeborn_ratis_shell.md
index 0d0565997..1a3f0bdd0 100644
--- a/docs/celeborn_ratis_shell.md
+++ b/docs/celeborn_ratis_shell.md
@@ -166,5 +166,5 @@ It has the following subcommands:
### local raftMetaConf
Generate a new raft-meta.conf file based on original raft-meta.conf and new
peers, which is used to move a raft node to a new node.
```
-$ celeborn-ratis sh local raftMetaConf -peers
<P0_HOST:P0_PORT,P1_HOST:P1_PORT,P2_HOST:P2_PORT> -path
<PARENT_PATH_OF_RAFT_META_CONF>
+$ celeborn-ratis sh local raftMetaConf -peers
<[P0_ID|]P0_HOST:P0_PORT,[P1_ID|]P1_HOST:P1_PORT,[P2_ID|]P2_HOST:P2_PORT> -path
<PARENT_PATH_OF_RAFT_META_CONF>
```