-
Notifications
You must be signed in to change notification settings - Fork 6
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
ServerVersion being returned in descending order #558
Comments
@HusnaHariz we following this up with OpenSRP devs |
Tested the fetching with the We get results that are ordered by
It could be an issue of dummyData, but it appears the actual field that is ordered is Note We will still need the particular entry with
|
@HusnaHariz as long the the endpoint is gonna return incremental server version you do not have any concerns on the |
@ageryck Yes that is correct |
@ageryck A second issue identified is that the endpoint doesn't apply the serverVersion filter. It always pulls all records from OpenSRP which results in the same non-monotonic error. This can be tested out in postman. When trying to run the following with serverVersion=10, ie we want to fetch all records from serverVersion 10, we get all records returned from serverVersion=1
|
@HusnaHariz Can we close this? |
Results are being returned with descending serverVersions from the practitioner and organization endpoints. Work to support serverVersions was being tracked here. The beam-etl requires that these come in an ascending order as is the case for events.
Facing the following error at the moment because newer events are being fetched first
The text was updated successfully, but these errors were encountered: