mirror of https://github.com/apache/kafka.git
				
				
				
			| 
				
	
				CI / build (push) Waiting to run
				
					Details
				
			 #5608 introduced a regression where the check for `targetOffset < log.highWatermark` to emit a `WARN` log was made incorrectly after truncating the log. This change moves the check for `targetOffset < log.highWatermark` to `UnifiedLog#truncateTo` and ensures we emit a `WARN` log on truncation below the replica's HWM by both the `ReplicaFetcherThread` and `ReplicaAlterLogDirsThread` Reviewers: Jun Rao <junrao@gmail.com>, Chia-Ping Tsai <chia7712@gmail.com> | ||
|---|---|---|
| .. | ||
| src | ||
| .gitignore | ||