Skip to content

Commit

Permalink
Replace master terminology in documentation (#4079)
Browse files Browse the repository at this point in the history
Signed-off-by: Xue Zhou <xuezhou@amazon.com>
  • Loading branch information
xuezhou25 authored Aug 2, 2022
1 parent 707ca13 commit b0080eb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion DEVELOPER_GUIDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@ Work to make sure that OpenSearch can scale in a distributed manner.

Includes:

- Nodes (Master, Data, Compute, Ingest, Discovery, etc.)
- Nodes (Cluster Manager, Data, Compute, Ingest, Discovery, etc.)
- Replication & Merge Policies (Document, Segment level)
- Snapshot/Restore (repositories; S3, Azure, GCP, NFS)
- Translog (e.g., OpenSearch, Kafka, Kinesis)
Expand Down
2 changes: 1 addition & 1 deletion TESTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ The branch needs to be available on the remote that the BWC makes of the reposit

Example:

Say you need to make a change to `master` and have a BWC layer in `5.x`. You will need to: . Create a branch called `index_req_change` off your remote `${remote}`. This will contain your change. . Create a branch called `index_req_bwc_5.x` off `5.x`. This will contain your bwc layer. . Push both branches to your remote repository. . Run the tests with `./gradlew check -Dbwc.remote=${remote} -Dbwc.refspec.5.x=index_req_bwc_5.x`.
Say you need to make a change to `main` and have a BWC layer in `5.x`. You will need to: . Create a branch called `index_req_change` off your remote `${remote}`. This will contain your change. . Create a branch called `index_req_bwc_5.x` off `5.x`. This will contain your bwc layer. . Push both branches to your remote repository. . Run the tests with `./gradlew check -Dbwc.remote=${remote} -Dbwc.refspec.5.x=index_req_bwc_5.x`.

### Skip fetching latest

Expand Down
6 changes: 3 additions & 3 deletions rest-api-spec/src/main/resources/rest-api-spec/test/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ Indicates the runner can parse `node_selector` under the `do` operator and use i

Allows you to use a stashed value in any key of an object during a `match` assertion

- set: {nodes.$master.http.publish_address: host}
- set: {nodes.$cluster_manager.http.publish_address: host}
- match:
$body:
{
Expand Down Expand Up @@ -319,13 +319,13 @@ Stashed values can be used in property names, eg:
- do:
cluster.state: {}

- set: { master_node: master }
- set: { cluster_manager_node: cluster_manager }

- do:
nodes.info:
metric: [ transport ]

- is_true: nodes.$master.transport.profiles
- is_true: nodes.$cluster_manager.transport.profiles

Note that not only expected values can be retrieved from the stashed values (as in the example above), but the same goes for actual values:

Expand Down

0 comments on commit b0080eb

Please sign in to comment.