Repository navigation
π Source Amazon S3: solve possible case of files being missed during incremental syncs - #12568
Conversation
|
/test connector=connectors/source-s3
|
|
/test connector=connectors/source-s3
|
|
/test connector=connectors/source-s3
|
|
/test connector=connectors/source-s3
|
Evan Tahler (evantahler)
left a comment
There was a problem hiding this comment.
I'd like to see a test that shows the new state.history is what you would expect
Sherif A. Nada (sherifnada)
left a comment
There was a problem hiding this comment.
Agreed with evan that we should have very thorough testing on this functionality -- it's pretty important that we:
- don't miss any files
- drop old files from the STATE object to ensure it doesn't bloat unnecessarily
|
/test connector=connectors/source-s3
|
|
/test connector=connectors/source-s3
Build PassedTest summary info: |
Codecov Report
@@ Coverage Diff @@
## master #12568 +/- ##
=========================================
Coverage ? 90.36%
=========================================
Files ? 18
Lines ? 747
Branches ? 0
=========================================
Hits ? 675
Misses ? 72
Partials ? 0 Continue to review full report at Codecov.
|
|
/publish connector=connectors/source-s3
|
β¦incremental syncs (airbytehq#12568) * Added history to state * Deleted unused import * Rollback abnormal state file * Rollback abnormal state file * Fixed type error issue * Fix state issue * Updated after review * Bumped version
What
#5365 - π Source Amazon S3: solve possible case of files being missed during incremental syncs
How
Retain information in the state about every file's
_ab_source_file_urlever synced in the last N days (N = 3 days).History of records saved to set and not in cuckoo filter cause case in history saving on str, so expected size of state and complexity of set class can have us more profit than cuckoo filter with
error_ratemore than 0.Pre-merge Checklist
Updating a connector
Community member or Airbyter
airbyte_secret./gradlew :airbyte-integrations:connectors:<name>:integrationTest.README.mdbootstrap.md. See description and examplesdocs/integrations/<source or destination>/<name>.mdincluding changelog. See changelog exampleAirbyter
If this is a community PR, the Airbyte engineer reviewing this PR is responsible for the below items.
/test connector=connectors/<name>command is passing/publishcommand described here