Uploaded image for project: 'OASIS Message Queuing Telemetry Transport (MQTT) TC'
  1. OASIS Message Queuing Telemetry Transport (MQTT) TC
  2. MQTT-494

Unsubscribe actions does not define shared sub actions

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5, CSD01
    • Fix Version/s: 5, wd16
    • Component/s: edits
    • Labels:
      None
    • Proposal:
      Hide

      Add the following paragraph to section 3.10.4 UNSUBSCRIBE Actions:

      If a Topic Filter represents a Shared Subscription, this Session is detached from the Shared Subscription. If this Session was the only Session that the Shared Subscription was associated with, the Shared Subscription is deleted. Refer to section 4.8.2 for a description of Shared Subscription handling.

      Add the reasson code 0x12 (Other shares exist) which indicates that although this shared subscription was detached from this session, it is still attached to other sessions and thus is not fully deleted. We should say that in cases where the server is not sure the 0x00 (Success) reason code should be used.

      Show
      Add the following paragraph to section 3.10.4 UNSUBSCRIBE Actions: If a Topic Filter represents a Shared Subscription, this Session is detached from the Shared Subscription. If this Session was the only Session that the Shared Subscription was associated with, the Shared Subscription is deleted. Refer to section 4.8.2 for a description of Shared Subscription handling. Add the reasson code 0x12 (Other shares exist) which indicates that although this shared subscription was detached from this session, it is still attached to other sessions and thus is not fully deleted. We should say that in cases where the server is not sure the 0x00 (Success) reason code should be used.

      Description

      Section 3.10.4 (UNSUBSCRIBE Actions) does not define the actions to take when the subscription is a shared sub.

      At the very least this needs a reference to section 4.8.2 (Shared Subscriptions) but should have some text here.

      The 0x00 (Success) return code for UNSUBACK needs to be clarified. Saying the subscription is deleted is at best ambiguous in the case of a shared subscription.

      There should be another return code to indicate whether the subscription still exists given that this session is no longer attached to the shared subscription. That is, was this the last session attached to the shared sub.

        Attachments

          Activity

            People

            • Assignee:
              ken.borgendale Ken Borgendale (Inactive)
              Reporter:
              ken.borgendale Ken Borgendale (Inactive)
            • Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: