Uploaded image for project: 'Qpid Dispatch'
  1. Qpid Dispatch
  2. DISPATCH-1275

Enable deletion of connections based on connection id

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.0
    • Fix Version/s: 1.6.0
    • Component/s: Container
    • Labels:
      None

      Description

      Sometimes there is a need to delete/kill certain connections on which there are slow consumers or consumers that won't acknowledge messages.

      Add functionality to the router server side code that will allow users to delete connections based on the connection id. The connection id can be obtained from the output of--

      qdstat -c

      or

      qdmanage QUERY --type=connection

      This JIRA involves the following tasks

      1. Add two fields, adminStatus and operStatus to the connection entity in the router schema. Possible connection adminStatues areĀ enabled and deleted. Possible operStatuses are up
      2. Modify the router's c-management agent to respond to a UPDATE management request. A connection id must be provided to update a connection (adminStatus=deleted). When a client deletes a connection object, the connection to the peer is terminated by the router. Client will not be allowed to terminate inter-router connections.
      3. Add policy control over who is permitted to write adminStatus (add a new flag at the policy group level called allowAdminStatusUpdate)

        Attachments

          Activity

            People

            • Assignee:
              ganeshmurthy Ganesh Murthy
              Reporter:
              ganeshmurthy Ganesh Murthy
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: