User Tools

Site Tools


ddsf:public:guidebook:06_append:02_quality_of_service:ownership

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
ddsf:public:guidebook:06_append:02_quality_of_service:ownership [2021/03/17 16:24]
admin ↷ Links adapted because of a move operation
ddsf:public:guidebook:06_append:02_quality_of_service:ownership [2021/07/14 15:55] (current)
murphy ↷ Links adapted because of a move operation
Line 1: Line 1:
 ====== OWNERSHIP QoS Parameter ​ ====== ====== OWNERSHIP QoS Parameter ​ ======
-[[ddsf:private:​guidebook:​06_append:​02_quality_of_service|return to the Quality of Service (QoS) Parameters ]]+[[ddsf:public:​guidebook:​06_append:​02_quality_of_service:start|return to the Quality of Service (QoS) Parameters ]]
  
-The [[ddsf:private:​guidebook:​06_append:​glossary:​o:​ownership_qos|OWNERSHIP]] policy controls whether the Service allows multiple ''​DataWriter''​ objects to update the same instance (identified by ''​Topic''​ + [[ddsf:private:​guidebook:​06_append:​glossary:​k:​key|key]]) of a data-object.+The [[ddsf:public:​guidebook:​06_append:​glossary:​o:​ownership_qos|OWNERSHIP]] policy controls whether the Service allows multiple ''​DataWriter''​ objects to update the same instance (identified by ''​Topic''​ + [[ddsf:public:​guidebook:​06_append:​glossary:​k:​key|key]]) of a data-object.
  
 There are two ''​kind''​s of OWNERSHIP selected by the setting of the ''​kind'':​ SHARED and EXCLUSIVE. There are two ''​kind''​s of OWNERSHIP selected by the setting of the ''​kind'':​ SHARED and EXCLUSIVE.
  
 ===== SHARED ''​kind''​ ===== ===== SHARED ''​kind''​ =====
-This setting indicates that the Service does not enforce unique ownership for each [[ddsf:private:​guidebook:​06_append:​glossary:​i:​instance|instance]]. In this case, multiple writers can update the same data-object instance. The [[ddsf:private:​guidebook:​06_append:​glossary:​s:​subscriber|subscriber]] to the ''​[[ddsf:​private:​guidebook:​06_append:​glossary:​t:​topic|Topic]]''​ will be able to access modifications from all ''​DataWriter''​ objects, subject to the settings of other [[ddsf:private:​guidebook:​06_append:​glossary:​q:​quality_of_service_qos_policies|QoS]] that may filter particular samples (e.g., the TIME_BASED_FILTER or [[ddsf:private:​guidebook:​06_append:​glossary:​h:​history_qos|HISTORY QoS]] policy). In any case there is no “filtering” of modifications made based on the identity of the ''​DataWriter''​ that causes the modification.+This setting indicates that the Service does not enforce unique ownership for each [[ddsf:public:​guidebook:​06_append:​glossary:​i:​instance|instance]]. In this case, multiple writers can update the same data-object instance. The [[ddsf:public:​guidebook:​06_append:​glossary:​s:​subscriber|subscriber]] to the ''​[[ddsf:​public:​guidebook:​06_append:​glossary:​t:​topic|Topic]]''​ will be able to access modifications from all ''​DataWriter''​ objects, subject to the settings of other [[ddsf:public:​guidebook:​06_append:​glossary:​q:​quality_of_service_qos_policies|QoS]] that may filter particular samples (e.g., the TIME_BASED_FILTER or [[ddsf:public:​guidebook:​06_append:​glossary:​h:​history_qos|HISTORY QoS]] policy). In any case there is no “filtering” of modifications made based on the identity of the ''​DataWriter''​ that causes the modification.
  
 ===== EXCLUSIVE ''​kind''​ ===== ===== EXCLUSIVE ''​kind''​ =====
-This setting indicates that each instance of a data-object can only be modified by one ''​DataWriter''​. In other words, at any point in time a single ''​DataWriter''​ “owns” each instance and is the only one whose modifications will be visible to the ''​DataReader''​ objects. The owner is determined by selecting the ''​DataWriter''​ with the highest value of the ''​[[ddsf:​private:​guidebook:​06_append:​glossary:​o:​ownership_strength|strength]]''​ 26 that is both “alive” as defined by the [[ddsf:private:​guidebook:​06_append:​02_quality_of_service:​liveliness|LIVELINESS QoS]] policy and has not violated its [[ddsf:private:​guidebook:​06_append:​glossary:​d:​deadline_qos|DEADLINE]] contract with regards to the data-instance. Ownership can therefore change as a result of (a) a ''​DataWriter''​ in the system with a higher value of the ''​strength''​ that modifies the instance, (b) a change in the ''​strength''​ value of the ''​DataWriter''​ that owns the instance, (c) a change in the liveliness of the+This setting indicates that each instance of a data-object can only be modified by one ''​DataWriter''​. In other words, at any point in time a single ''​DataWriter''​ “owns” each instance and is the only one whose modifications will be visible to the ''​DataReader''​ objects. The owner is determined by selecting the ''​DataWriter''​ with the highest value of the ''​[[ddsf:​public:​guidebook:​06_append:​glossary:​o:​ownership_strength|strength]]''​ 26 that is both “alive” as defined by the [[ddsf:public:​guidebook:​06_append:​02_quality_of_service:​liveliness|LIVELINESS QoS]] policy and has not violated its [[ddsf:public:​guidebook:​06_append:​glossary:​d:​deadline_qos|DEADLINE]] contract with regards to the data-instance. Ownership can therefore change as a result of (a) a ''​DataWriter''​ in the system with a higher value of the ''​strength''​ that modifies the instance, (b) a change in the ''​strength''​ value of the ''​DataWriter''​ that owns the instance, (c) a change in the liveliness of the
 ''​DataWriter''​ that owns the instance, and (d) a deadline with regards to the instance that is missed by the ''​DataWriter''​ that owns the instance. ''​DataWriter''​ that owns the instance, and (d) a deadline with regards to the instance that is missed by the ''​DataWriter''​ that owns the instance.
  
 The behavior of the system is as if the determination was made independently by each ''​DataReader''​. Each ''​DataReader''​ may The behavior of the system is as if the determination was made independently by each ''​DataReader''​. Each ''​DataReader''​ may
-detect the change of ownership at a different time. It is not a [[ddsf:private:​guidebook:​06_append:​glossary:​r:​requirement|requirement]] that at a particular point in time all the ''​DataReader''​ objects for that ''​Topic''​ have a consistent picture of who owns each instance.+detect the change of ownership at a different time. It is not a [[ddsf:public:​guidebook:​06_append:​glossary:​r:​requirement|requirement]] that at a particular point in time all the ''​DataReader''​ objects for that ''​Topic''​ have a consistent picture of who owns each instance.
  
 It is also not a requirement that the ''​DataWriter''​ objects are aware of whether they own a particular instance. There is no error or notification given to a ''​DataWriter''​ that modifies an instance it does not currently own. It is also not a requirement that the ''​DataWriter''​ objects are aware of whether they own a particular instance. There is no error or notification given to a ''​DataWriter''​ that modifies an instance it does not currently own.
Line 30: Line 30:
  
 Source: [[https://​www.omg.org/​spec/​DDS/​1.4/​PDF | DDS 1.4 Spec]] Source: [[https://​www.omg.org/​spec/​DDS/​1.4/​PDF | DDS 1.4 Spec]]
 +
 +/​**=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
 +/* To add a discussion page to this page, comment out the line that says 
 +  ~~DISCUSSION:​off~~
 +*/
 +~~DISCUSSION:​on|Outstanding Issues~~
 +~~DISCUSSION:​off~~
ddsf/public/guidebook/06_append/02_quality_of_service/ownership.1616012679.txt.gz · Last modified: 2021/03/17 16:24 by admin