You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
KAFKA-19576 Fix typo in state-change log filename after rotate (#20269)
The `state-change.log` file is being incorrectly rotated to
`stage-change.log.[date]`. This change fixes the typo to have the log
file correctly rotated to `state-change.log.[date]`
_No functional changes._
Reviewers: Mickael Maison <[email protected]>, Christo Lolov
<[email protected]>, Luke Chen <[email protected]>, Ken Huang
<[email protected]>, TengYao Chi <[email protected]>, Chia-Ping Tsai
<[email protected]>
Copy file name to clipboardExpand all lines: docs/upgrade.html
+18-5Lines changed: 18 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -57,6 +57,9 @@ <h5><a id="upgrade_410_notable" href="#upgrade_410_notable">Notable changes in 4
57
57
The logger class name for LogCleaner has been updated from <code>kafka.log.LogCleaner</code> to <code>org.apache.kafka.storage.internals.log.LogCleaner</code> in the log4j2.yaml configuration file.
58
58
Added loggers for <code>org.apache.kafka.storage.internals.log.LogCleaner$CleanerThread</code> and <code>org.apache.kafka.storage.internals.log.Cleaner</code> classes to CleanerAppender.
<h5><aid="upgrade_4_0_0"href="#upgrade_4_0_0">Upgrading Servers to 4.0.0 from any version 3.3.x through 3.9.x</a></h5>
123
+
<h5><aid="upgrade_4_0_1"href="#upgrade_4_0_1">Upgrading Servers to 4.0.1 from any version 3.3.x through 3.9.x</a></h5>
121
124
122
125
<p>Note: ApacheKafka4.0onlysupportsKRaftmode-ZooKeepermodehasbeenremoved.Assuch,<b>broker upgrades to 4.0.0 (and higher) require KRaft mode and
123
126
the software and metadata versions must be at least 3.3.x</b>(thefirstversionwhenKRaftmodewasdeemedproductionready).ForclustersinKRaftmode
@@ -141,7 +144,13 @@ <h5><a id="upgrade_4_0_0" href="#upgrade_4_0_0">Upgrading Servers to 4.0.0 from
141
144
has a boolean parameter that indicates if there are metadata changes (i.e. <code>IBP_4_0_IV1(23, "4.0", "IV1", true)</code> means this version has metadata changes).
142
145
Given your current and target versions, a downgrade is only possible if there are no metadata changes in the versions between.</li>
143
146
</ol>
144
-
147
+
<h5><aid="upgrade_servers_401_notable"href="#upgrade_servers_401_notable">Notable changes in 4.0.1</a></h5>
148
+
<ul>
149
+
<li>
150
+
The filename for rotated <code>state-change.log</code> files has been updated from <code>stage-change.log.[date]</code> to <code>state-change.log.[date]</code> in the log4j2.yaml configuration file.
151
+
See <ahref="https://issues.apache.org/jira/browse/KAFKA-19576">KAFKA-19576</a> for details.
152
+
</li>
153
+
</ul>
145
154
<h5><aid="upgrade_servers_400_notable"href="#upgrade_servers_400_notable">Notable changes in 4.0.0</a></h5>
The filename for rotated <code>state-change.log</code> files incorrectly rotates to <code>stage-change.log.[date]</code> (changing state to stage). This issue is corrected in 4.0.1.
510
+
See <ahref="https://issues.apache.org/jira/browse/KAFKA-19576">KAFKA-19576</a> for details.
0 commit comments