Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename and cleanup follow-up for chunk synchronization #327

Merged
merged 1 commit into from Jun 9, 2020

Conversation

amysutedja
Copy link
Contributor

@amysutedja amysutedja commented Jun 5, 2020

Brief summary of changes:

  • Cleaned up commented-out code
  • Renamed _record_count to pending_record_count and _total_record_count to committed_record_count. The old properties are still callable but produce a deprecated warning. (If you were actually setting those values, you probably shouldn't have been doing that.)
  • RecordWriterV1 now updates committed_record_count before clearing records. Previously it was the other way around, which seems like it would always produce incorrect data.

@amysutedja amysutedja force-pushed the chunk-synchronization-cleanup branch from 9c3c9bc to e740168 Compare June 5, 2020 22:22
@amysutedja amysutedja merged commit 390d327 into develop Jun 9, 2020
@amysutedja amysutedja deleted the chunk-synchronization-cleanup branch June 9, 2020 19:33
@fantavlik fantavlik mentioned this pull request Jan 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants