Investigate possible issue on handling the response for delta submission #843
Labels
accepted-jira
priority/long-term
Important over the long term, but may not be staffed and/or may need multiple releases to complete.
triage/accepted
Indicates an issue or PR is ready to be actively worked on.
In the delta store.go, we handle the response from the platform on delta submission.
There are different scenarios when the platform can reject the deltas, providing a hint on fixing the issue.
The is a case when platform expected a delta ID that is higher with 1 than the one sent.
During an investigation, I've noticed that the delta cache file is not updated in this case. (the file is updated by calling SaveState method).
We should check why this is happening and if it's expected (the comment in the code states that is the "normal case", so maybe is the expected behavior). Also we should sync with the platform to see if we should save the "id" or the "SendNextID"
current code:
Steps to reproduce:
last_sent_id
has been updatedThe text was updated successfully, but these errors were encountered: