Skip to content

The Agent publishes incorrect timestamp sequences if the adapter streams with older data on connection #538

@simonyg

Description

@simonyg

During the Agent's startup, it marks all the data items with "Unavailable" and the current timestamp. On connecting to the agent, some adapter implementation could send older stale data to the agent. The agent will publish these data items with their older timestamps.

The sequence looks like this:

<now>,                    ItemId, Unavailable, 
<old time stamp>,         ItemId,  stale data
<next time stamp > now>,  itemId, new data

The Agent should always publish the data with forward timestamp. The expected behavior should be:

<now>,                    ItemId, Unavailable, 
<now+>,                   ItemId,  stale data
<next time stamp > now+>, itemId, new data

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions