-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
e2pg: introduce a destRange for backfill filtering
This is needed because there will soon be a backfill task per source that will write to destinations that may or may not have the same level of progress. E.g. it is likely that there is an integration that has been backfilled from block: 0, 100 but on e2pg restart, a new integration has been added that requires a backfill of 0,200 and so the backfill task will work on both integrations but starting at 0 again. So the first integration will not be asked to insert data until the backfill task reaches 100 again. Similarly, an integration may not accept new Insert calls if it is already up to date with its main task while other backfill tasks still have blocks to process.
- Loading branch information
1 parent
dee33aa
commit b335f3f
Showing
2 changed files
with
171 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters