You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
shadowJsonVersionNum can be incremented by non .../delta topic messages resulting in a risk of missing delta messages. The issue is recognized in the comments here:
A quick fix is to remove the test (strstr(pTopicName, "update/accepted") != NULL although a more robust approach could be to track version number per subscribed topic.
The text was updated successfully, but these errors were encountered:
Hi @johnhopwood,
Thank you for letting us know you're facing this issue. We are already working to address this in the next release. I realize it has been pending for a while now, it will definitely be addressed in the next version of the SDK. Apologies for any inconvienience this is causing. Thank you for using AWS IoT.
shadowJsonVersionNum
can be incremented by non.../delta
topic messages resulting in a risk of missing delta messages. The issue is recognized in the comments here:https://github.com/aws/aws-iot-device-sdk-embedded-C/blob/master/include/aws_iot_shadow_interface.h#L260
However, messages received on
.../update/accepted
are incorrectly being allowed to incrementshadowJsonVersionNum
by the code here:https://github.com/aws/aws-iot-device-sdk-embedded-C/blob/master/src/aws_iot_shadow_records.c#L173
A quick fix is to remove the test
(strstr(pTopicName, "update/accepted") != NULL
although a more robust approach could be to track version number per subscribed topic.The text was updated successfully, but these errors were encountered: