DDS 1.2 RTF Avatar
  1. OMG Issue

DDS12 — delete_contained_entities() on the Subscriber

  • Key: DDS12-22
  • Legacy Issue Number: 9499
  • Status: closed  
  • Source: Real-Time Innovations ( Dr. Gerardo Pardo-Castellote, Ph.D.)
  • Summary:

    Should delete_contained_entities() on the Subscriber (and even the DataReader or DomainParticipant) be allowed to return PRECONDITION_NOT_MET?

    Summary:
    As described in Section 2.1.2.5.2.6, delete_datareader() can return PRECONDITION_NOT_MET if there are any outstanding loans. In a similar fashion, should we allow delete_contained_entities() on the Subscriber (and even the DataReader or DomainParticipant for that matter) to also return PRECONDITION_NOT_MET in this situation?

    Proposed Resolution:
    Return PRECONDITION_NOT_MET when delete_contained_entities() is called on either the DataReader, Subscriber, or DomainParticipant when a DataReader has outstanding loans.

    Proposed Revised Text:

    Section 2.1.2.2.1.18 delete_contained_entities
    Before the paragraph that starts with "Once delete_contained_entities returns successfully," add the paragraph
    The operation will return PRECONDITION_NOT_MET if the any of the contained entities is in a state where it cannot be deleted.

    Section 2.1.2.4.1.14 delete_contained_entities
    Before the paragraph that starts with "Once delete_contained_entities returns successfully," add the paragraph
    The operation will return PRECONDITION_NOT_MET if the any of the contained entities is not in a state where it can be deleted.

    Section 2.1.2.5.2.14 delete_contained_entities
    Before the paragraph that starts with "Once delete_contained_entities returns successfully," add the paragraph
    The operation will return PRECONDITION_NOT_MET if the any of the contained entities is not in a state where it can be deleted. This will occur, for example, if a contained DataReader cannot be deleted because the application has called a read or take operation and has not called the corresponding return_loan operation to return the loaned samples.

    Section 2.1.2.5.3.30 delete_contained_entities
    Before the paragraph that starts with "Once delete_contained_entities returns successfully," add the paragraph
    The operation will return PRECONDITION_NOT_MET if the any of the contained entities is not in a state where it can be deleted.

  • Reported: DDS 1.1 — Sun, 2 Apr 2006 05:00 GMT
  • Disposition: Resolved — DDS 1.2
  • Disposition Summary:

    see above

  • Updated: Fri, 6 Mar 2015 20:58 GMT