You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2019/05/08 03:44:50 UTC

[GitHub] [spark] beliefer opened a new pull request #24550: [MINOR][SS]fix inappropriate identifier in MicroBatchExecution.populateStartOffsets.

beliefer opened a new pull request #24550: [MINOR][SS]fix inappropriate identifier in MicroBatchExecution.populateStartOffsets.
URL: https://github.com/apache/spark/pull/24550
 
 
   ## What changes were proposed in this pull request?
   
   The mothod `populateStartOffsets` exists a inappropriate identifier `secondLatestBatchId`.
   I think `secondLatestBatchId = latestBatchId - 1` and `offsetLog.get(latestBatchId - 1)` is a offset.
   So I change the identifier as follows:
   `secondLatest = offsetLog.get(latestBatchId - 1)`
   
   ## How was this patch tested?
   
   Exists UT.
   

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org