Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

RemoteLogManager copies transaction index along with the respective log segment earlier to loglast-stable-offset. This is used by the followers to return aborted transactions in fetch requests with isolation level as READ_COMMITTED. We may not need to copy producer-id-snapshot as we are copying only segments earlier to loglast-stable-offset. 

Consumer Fetch Requests

...

If the target timestamp is
ListOffsetRequest.EARLIEST_TIMESTAMP (value as -2) returns logStartOffset of the log.
ListOffsetRequest.LATEST_TIMESTAMP(value as-1) returns loglast-stable-offset or log-end-offset based on the isolation level in the request.

...