mingdaoy commented on code in PR #19065:
URL: https://github.com/apache/kafka/pull/19065#discussion_r1977925595


##########
docs/ops.html:
##########
@@ -1343,13 +1343,13 @@ <h4 class="anchor-heading"><a id="replace_disk" 
class="anchor-link"></a><a href=
 
   <p>Check and wait until the <code>Lag</code> is small for a majority of the 
controllers. If the leader's end offset is not increasing, you can wait until 
the lag is 0 for a majority; otherwise, you can pick the latest leader end 
offset and wait until all replicas have reached it. Check and wait until the 
<code>LastFetchTimestamp</code> and <code>LastCaughtUpTimestamp</code> are 
close to each other for the majority of the controllers. At this point it is 
safer to format the controller's metadata log directory. This can be done by 
running the kafka-storage.sh command.</p>
 
-  <pre><code class="language-bash">$ bin/kafka-storage.sh format --cluster-id 
uuid --config server_properties</code></pre>
+  <pre><code class="language-bash">$ bin/kafka-storage.sh format --cluster-id 
uuid --config config/server.properties</code></pre>
 
   <p>It is possible for the <code>bin/kafka-storage.sh format</code> command 
above to fail with a message like <code>Log directory ... is already 
formatted</code>. This can happen when combined mode is used and only the 
metadata log directory was lost but not the others. In that case and only in 
that case, can you run the <code>bin/kafka-storage.sh format</code> command 
with the <code>--ignore-formatted</code> option.</p>
 
   <p>Start the KRaft controller after formatting the log directories.</p>
 
-  <pre><code class="language-bash">$ bin/kafka-server-start.sh 
server_properties</code></pre>
+  <pre><code class="language-bash">$ bin/kafka-server-start.sh 
config/server.properties</code></pre>

Review Comment:
   @dajac done



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: jira-unsubscr...@kafka.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to