You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2018/02/26 18:50:35 UTC
[GitHub] ivankelly opened a new pull request #1286: Compaction uses GetLastMessageId
ivankelly opened a new pull request #1286: Compaction uses GetLastMessageId
URL: https://github.com/apache/incubator-pulsar/pull/1286
In two phase compaction, we read from the start of the topic to the
end. Previously, we had no reliable way to knowing if we were at the
end of the topic, so we used timeouts.
However, with the new GetLastMessageId api, we can find how far we
should read in a topic, and just stop when we get there.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services