View Issue Details

IDProjectCategoryView StatusLast Update
000334710000-007: ProfilesSpecpublic2017-02-28 16:49
ReporterNathan PocockAssigned ToKarl Deiretsbacher  
PrioritynormalSeverityfeatureReproducibilityalways
Status closedResolutionfixed 
Product Version1.03 
Summary0003347: Subscription.Refresh
Description

A need for a full refresh request for a subscription has risen in practice a few times.

Problem: In some situations the client application can lose track of the current value of each monitored item. There is currently no mechanism provided for an easy and reliable way to refresh the current values.

The situation may occur:

#1 after the client re-enables the subscription by setting the PublishingMode: the specification does not define whether the current values should be sent for each item with a new notification and not all servers do this

#2 after a connection break that continues so long that the RetransmissionQueue in the server is exhausted, leading to lost notification messages. The client has no way to find out which monitored items are in sync with the server after that

The current options to refresh the items are:
a) recreate the complete subscription: this is too big an operation for such a "small" problem and breaks the continuity of the data
b) read all values for the items: the problem is that the 'read' is done in a "separate channel" and the results may be mixed up with new notifications that arrive at the same time from the subscription, so the client needs to perform extra synchronization to find out the latest values

Solution proposal:

  • Add a Refresh method, which would instruct the server to resend the current value for each monitored item in the subscription.
  • Also document the desired behavior for setPublishingMode when the subscription is re-enabled: require that a notification of new values are sent to the client. Disabling/Enabling the subscription could then be used to refresh the group. The application developers and users won't just figure this option out very easily, I am afraid, though.
Additional Information

CMPWG Feb-25-2016:

Need a conformance unit

TagsNo tags attached.
Commit Version
Fix Due Date

Relationships

related to 0002763 closedMatthias Damm 10000-004: Services Subscription.Refresh 

Activities

Karl Deiretsbacher

2016-10-25 08:49

developer   ~0007267

Method is called "ResendData"

ResendData forces an update of all monitored data independent of whether they have changed or not.
It should be used for situations where the Client missed NotificationMessages and is not able to get them through Republish.

Karl Deiretsbacher

2017-02-28 16:49

developer   ~0007899

Created a new facet for the Standard Subscription that has the method as mandatory.
Fixed in Part 7 1.04.07.

Jim Luth

2017-02-28 16:49

administrator   ~0007900

Agreed to changes in telecon.

Issue History

Date Modified Username Field Change
2016-02-25 16:15 Nathan Pocock New Issue
2016-02-25 16:15 Nathan Pocock Status new => assigned
2016-02-25 16:15 Nathan Pocock Assigned To => Karl Deiretsbacher
2016-02-25 16:15 Nathan Pocock Issue generated from: 0002763
2016-02-25 16:16 Nathan Pocock Relationship added related to 0002763
2016-02-25 16:16 Nathan Pocock Project 10000-004: Services => 10000-007: Profiles
2016-10-25 08:49 Karl Deiretsbacher Note Added: 0007267
2016-10-25 08:59 Karl Deiretsbacher Target Version => 1.04
2017-02-28 16:49 Karl Deiretsbacher Note Added: 0007899
2017-02-28 16:49 Karl Deiretsbacher Status assigned => resolved
2017-02-28 16:49 Karl Deiretsbacher Fixed in Version => 1.04
2017-02-28 16:49 Karl Deiretsbacher Resolution open => fixed
2017-02-28 16:49 Jim Luth Note Added: 0007900
2017-02-28 16:49 Jim Luth Status resolved => closed