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

Switch to using date added to ES #107

Closed
bderenzi opened this issue Oct 8, 2018 · 3 comments
Closed

Switch to using date added to ES #107

bderenzi opened this issue Oct 8, 2018 · 3 comments
Assignees

Comments

@bderenzi
Copy link
Contributor

bderenzi commented Oct 8, 2018

There is a bug where any unprocessed form that is in the backlog for ES will never be sync'd to a just-completed sync because we use form submission date as opposed to the data added to ES.

The proposal is to switch to using date-added-to-ES so that backlog forms will be sync'd as well.

@bderenzi bderenzi assigned bderenzi and snopoke and unassigned bderenzi Oct 11, 2018
@snopoke
Copy link
Contributor

snopoke commented Nov 1, 2018

Another reason to do this is that it will prevent the tool from getting stuck when there is more than 'batch-size' docs with the same modified on date e.g. cases updated by a large case import.

@snopoke
Copy link
Contributor

snopoke commented May 23, 2019

dimagi/commcare-hq#24393

@snopoke
Copy link
Contributor

snopoke commented May 20, 2021

Fixed by #159

@snopoke snopoke closed this as completed May 20, 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 a pull request may close this issue.

2 participants