Skip to content

Commit 1042789

Browse files
authored
Merge pull request #49323 from lahinson/etcd-auto-defrag
updating log output example messages
2 parents 711041c + 3a8a6d9 commit 1042789

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

modules/etcd-defrag.adoc

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,18 @@ Verify that the defragmentation process is successful by viewing one of these lo
3434
Automatic defragmentation can cause leader election failure in various OpenShift core components, such as the Kubernetes controller manager, which triggers a restart of the failing component. The restart is harmless and either triggers failover to the next running instance or the component resumes work again after the restart.
3535
====
3636

37-
.Example log output
37+
.Example log output for successful defragmentation
3838
[source,terminal]
39+
[subs="+quotes"]
3940
----
40-
I0907 08:43:12.171919 1
41-
defragcontroller.go:198] etcd member "ip-
42-
10-0-191-150.example.redhat.com"
43-
backend store fragmented: 39.33 %, dbSize:
44-
349138944
41+
etcd member has been defragmented: __<member_name>__, memberID: __<member_id>__
42+
----
43+
44+
.Example log output for unsuccessful defragmentation
45+
[source,terminal]
46+
[subs="+quotes"]
47+
----
48+
failed defrag on member: __<member_name>__, memberID: __<member_id>__: __<error_message>__
4549
----
4650

4751
[id="manual-defrag-etcd-data_{context}"]

0 commit comments

Comments
 (0)