Skip to content

Commit 9f52f46

Browse files
add es code comments for testing
1 parent a8d98e4 commit 9f52f46

File tree

174 files changed

+1164
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

174 files changed

+1164
-0
lines changed

deploy-manage/deploy/self-managed/install-elasticsearch-from-archive-on-linux-macos.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ curl https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-9.0.0-be
6969
tar -xzf elasticsearch-9.0.0-beta1-darwin-x86_64.tar.gz
7070
cd elasticsearch-9.0.0-beta1/ <2>
7171
```
72+
% NOTCONSOLE
7273

7374
1. Compares the SHA of the downloaded `.tar.gz` archive and the published checksum, which should output `elasticsearch-{{version}}-darwin-x86_64.tar.gz: OK`.
7475
2. This directory is known as `$ES_HOME`.
@@ -164,6 +165,7 @@ You can test that your {{es}} node is running by sending an HTTPS request to por
164165
```sh
165166
curl --cacert $ES_HOME/config/certs/http_ca.crt -u elastic:$ELASTIC_PASSWORD https://localhost:9200 <1>
166167
```
168+
% NOTCONSOLE
167169

168170
1. Ensure that you use `https` in your call, or the request will fail.`--cacert`
169171
: Path to the generated `http_ca.crt` certificate for the HTTP layer.

deploy-manage/deploy/self-managed/install-elasticsearch-with-debian-package.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,7 @@ You can test that your {{es}} node is running by sending an HTTPS request to por
211211
```sh
212212
curl --cacert /etc/elasticsearch/certs/http_ca.crt -u elastic:$ELASTIC_PASSWORD https://localhost:9200 <1>
213213
```
214+
% NOTCONSOLE
214215

215216
1. Ensure that you use `https` in your call, or the request will fail.`--cacert`
216217
: Path to the generated `http_ca.crt` certificate for the HTTP layer.

deploy-manage/deploy/self-managed/install-elasticsearch-with-rpm.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,7 @@ You can test that your {{es}} node is running by sending an HTTPS request to por
215215
```sh
216216
curl --cacert /etc/elasticsearch/certs/http_ca.crt -u elastic:$ELASTIC_PASSWORD https://localhost:9200 <1>
217217
```
218+
% NOTCONSOLE
218219

219220
1. Ensure that you use `https` in your call, or the request will fail.`--cacert`
220221
: Path to the generated `http_ca.crt` certificate for the HTTP layer.

deploy-manage/deploy/self-managed/install-elasticsearch-with-zip-on-windows.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@ You can test that your {{es}} node is running by sending an HTTPS request to por
142142
```sh
143143
curl --cacert %ES_HOME%\config\certs\http_ca.crt -u elastic:$ELASTIC_PASSWORD https://localhost:9200 <1>
144144
```
145+
% NOTCONSOLE
145146

146147
1. Ensure that you use `https` in your call, or the request will fail.`--cacert`
147148
: Path to the generated `http_ca.crt` certificate for the HTTP layer.

deploy-manage/deploy/self-managed/local-development-installation-quickstart.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ To set up {{es}} and {{kib}} locally, run the `start-local` script:
3535
```sh
3636
curl -fsSL https://elastic.co/start-local | sh
3737
```
38+
% NOTCONSOLE
3839

3940
This script creates an `elastic-start-local` folder containing configuration files and starts both {{es}} and {{kib}} using Docker.
4041

deploy-manage/distributed-architecture/shard-allocation-relocation-recovery/delaying-allocation-when-node-leaves.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ PUT _all/_settings
3737
}
3838
}
3939
```
40+
% TEST[s/^/PUT test\n/]
4041

4142
With delayed allocation enabled, the above scenario changes to look like this:
4243

@@ -83,6 +84,7 @@ PUT _all/_settings
8384
}
8485
}
8586
```
87+
% TEST[s/^/PUT test\n/]
8688

8789
You can reset the timeout as soon as the missing shards have started to recover.
8890

deploy-manage/maintenance/add-and-remove-elasticsearch-nodes.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ POST /_cluster/voting_config_exclusions?node_names=node_name
107107
# auto-reconfiguration up to one minute
108108
POST /_cluster/voting_config_exclusions?node_names=node_name&timeout=1m
109109
```
110+
% TEST[skip:this would break the test cluster if executed]
110111

111112
The nodes that should be added to the exclusions list are specified by name using the `?node_names` query parameter, or by their persistent node IDs using the `?node_ids` query parameter. If a call to the voting configuration exclusions API fails, you can safely retry it. Only a successful response guarantees that the node has actually been removed from the voting configuration and will not be reinstated. If the elected master node is excluded from the voting configuration then it will abdicate to another master-eligible node that is still in the voting configuration if such a node is available.
112113

deploy-manage/monitor/logging-configuration/elasticsearch-deprecation-logs.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,7 @@ You can identify what is triggering deprecated functionality if `X-Opaque-Id` wa
259259
"node.id": "D7fUYfnfTLa2D7y-xw6tZg"
260260
}
261261
```
262+
% NOTCONSOLE
262263

263264
Deprecation logs can be indexed into `.logs-deprecation.elasticsearch-default` data stream `cluster.deprecation_indexing.enabled` setting is set to true.
264265

deploy-manage/monitor/logging-configuration/elasticsearch-log4j-configuration-self-managed.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,7 @@ You can identify what is triggering deprecated functionality if `X-Opaque-Id` wa
256256
"node.id": "D7fUYfnfTLa2D7y-xw6tZg"
257257
}
258258
```
259+
% NOTCONSOLE
259260

260261
Deprecation logs can be indexed into `.logs-deprecation.elasticsearch-default` data stream `cluster.deprecation_indexing.enabled` setting is set to true.
261262

deploy-manage/monitor/logging-configuration/update-elasticsearch-logging-levels.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,7 @@ You can identify what is triggering deprecated functionality if `X-Opaque-Id` wa
259259
"node.id": "D7fUYfnfTLa2D7y-xw6tZg"
260260
}
261261
```
262+
% NOTCONSOLE
262263

263264
Deprecation logs can be indexed into `.logs-deprecation.elasticsearch-default` data stream `cluster.deprecation_indexing.enabled` setting is set to true.
264265

0 commit comments

Comments
 (0)