eatmoreduck commented on PR #24299:
URL: https://github.com/apache/kafka/pull/24299#issuecomment-7121419648

   Thanks @yuriymalygin - you're right, and I reproduced all three cases 
locally.
   
   With the tests you described on this branch, the live replica loses all five 
`kafka.log:type=Log` gauges in each case (`LogStartOffset`, `LogEndOffset`, 
`NumLogSegments`, `Size`, `RetentionSizeInPercent`). I ran the same three tests 
on a clean trunk (e74cae57d0) as a control and they pass there, so this is a 
regression introduced by this PR, not pre-existing behaviour.
   
   I also missed your correction on KAFKA-21548 from Nov 16: I worked from the 
"Suggested fix" in the ticket description and should have read the comments on 
the ticket before starting. Sorry for the noise.
   
   #24352 is the right shape (decide before anything is registered), so I'm 
closing this one in its favour.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to