shunping commented on code in PR #41565:
URL: https://github.com/apache/beam/pull/41565#discussion_r4687190038


##########
sdks/python/apache_beam/io/range_trackers.py:
##########
@@ -97,6 +97,11 @@ def _validate_record_start(self, record_start, split_point):
       raise ValueError(
           'This function must only be called under the lock self.lock.')
 
+    if record_start < self._start_offset:

Review Comment:
   I'm wondering if this check is necessary—we've been running Python jobs for 
a long time without running into this issue.
   
   Could you look into the logic to see if this scenario can actually happen in 
practice?



-- 
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