Skip to content

[bugfix] Excluding ImageTasks local creation with other regions and satellites#9

Open
velmer wants to merge 2 commits intoremote-sharingfrom
bugfix/excluding-date-with-other-regions
Open

[bugfix] Excluding ImageTasks local creation with other regions and satellites#9
velmer wants to merge 2 commits intoremote-sharingfrom
bugfix/excluding-date-with-other-regions

Conversation

@velmer
Copy link
Owner

@velmer velmer commented Jun 17, 2019

What is the bug?
When skipping ImageTasks local creation based on remotely processed ones, the SubmissionDispatcher is skipping a date regardless if there are or not remote ImageTasks, not only with same date, but with same region and satellite too (considering these 3 parameters as what makes the identification of an ImageTask).

What is the fix?
Instead of use a list of dates that have already been processed remotely, use a map that have a date as key and a list of remote ImageTasks processed in that date as value. Then, the SubmissionDispatcher tries to process every single date of submission date interval and only skips a local creation if there is a remote ImageTask with same date, region and satellite, not only with same date as was before.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants