Hi Guys,

Just looking at the following snippet

https://github.com/apache/kafka/blob/7847e9c703f3a0b70519666cdb8a6e4c8e37c3a7/core/src/main/scala/kafka/log/Log.scala#L259

Presumably this is when the follower is appending to its own log fetching from 
the leader.

( appendInfo.firstOffset < nextOffset.get )

Isn't the check slightly unsafe as it could lead to gaps in the offsets?

Thanks,
Manju

________________________________________________________________________
In order to protect our email recipients, Betfair Group use SkyScan from 
MessageLabs to scan all Incoming and Outgoing mail for viruses.

________________________________________________________________________

Reply via email to