[jira] [Commented] (DISPATCH-879) Document how Dispatch Router uses alternate failover URLs

2017-11-28 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/DISPATCH-879?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16268975#comment-16268975
 ] 

ASF subversion and git services commented on DISPATCH-879:
--

Commit 00d1ea2207711b409eb9ef1f0f582adb502b6456 in qpid-dispatch's branch 
refs/heads/master from [~bhardest]
[ https://git-wip-us.apache.org/repos/asf?p=qpid-dispatch.git;h=00d1ea2 ]

DISPATCH-879 - Document how routers use alternate failover URLs. This closes 
#220


> Document how Dispatch Router uses alternate failover URLs
> -
>
> Key: DISPATCH-879
> URL: https://issues.apache.org/jira/browse/DISPATCH-879
> Project: Qpid Dispatch
>  Issue Type: Bug
>  Components: Documentation
>Reporter: Ben Hardesty
>Assignee: Ben Hardesty
>




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (DISPATCH-879) Document how Dispatch Router uses alternate failover URLs

2017-11-28 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/DISPATCH-879?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16268977#comment-16268977
 ] 

ASF GitHub Bot commented on DISPATCH-879:
-

Github user asfgit closed the pull request at:

https://github.com/apache/qpid-dispatch/pull/220


> Document how Dispatch Router uses alternate failover URLs
> -
>
> Key: DISPATCH-879
> URL: https://issues.apache.org/jira/browse/DISPATCH-879
> Project: Qpid Dispatch
>  Issue Type: Bug
>  Components: Documentation
>Reporter: Ben Hardesty
>Assignee: Ben Hardesty
>




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (DISPATCH-879) Document how Dispatch Router uses alternate failover URLs

2017-11-20 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/DISPATCH-879?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16259565#comment-16259565
 ] 

ASF GitHub Bot commented on DISPATCH-879:
-

Github user jenmalloy commented on a diff in the pull request:

https://github.com/apache/qpid-dispatch/pull/220#discussion_r152065474
  
--- Diff: doc/new-book/configuration-connections.adoc ---
@@ -56,7 +56,10 @@ If you have set up SSL/TLS or SASL in your environment, 
you can configure the ro
 [[adding_outgoing_connections]]
 == Adding Outgoing Connections
 
-Configuring outgoing connections involves setting the host and port on 
which the router should connect to other routers and brokers.
+Configuring outgoing connections involves setting the host and port on 
which the router connects to other routers and brokers.
+
+// Adding this here for now; in the future it might be better to have 
separate procedures for creating inter-router and route-container connections.
+When a router connects to a broker, the broker may provide backup 
connection data that the router can use if the primary connection fails. If the 
primary connection fails, the router attempts to reconnect by using a 
combination of the primary and -- if provided -- backup connections in 
round-robin fashion until the connection is successful. For more information 
about viewing the backup connection data provided by the broker, see 
xref:managing_connectors[].
--- End diff --

@bhardesty, Change "may" to "might"


> Document how Dispatch Router uses alternate failover URLs
> -
>
> Key: DISPATCH-879
> URL: https://issues.apache.org/jira/browse/DISPATCH-879
> Project: Qpid Dispatch
>  Issue Type: Bug
>  Components: Documentation
>Reporter: Ben Hardesty
>Assignee: Ben Hardesty
>




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (DISPATCH-879) Document how Dispatch Router uses alternate failover URLs

2017-11-20 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/DISPATCH-879?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16259479#comment-16259479
 ] 

ASF GitHub Bot commented on DISPATCH-879:
-

Github user bhardesty commented on a diff in the pull request:

https://github.com/apache/qpid-dispatch/pull/220#discussion_r152050796
  
--- Diff: doc/new-book/configuration-connections.adoc ---
@@ -56,7 +56,10 @@ If you have set up SSL/TLS or SASL in your environment, 
you can configure the ro
 [[adding_outgoing_connections]]
 == Adding Outgoing Connections
 
-Configuring outgoing connections involves setting the host and port on 
which the router should connect to other routers and brokers.
+Configuring outgoing connections involves setting the host and port on 
which the router connects to other routers and brokers.
+
+// Adding this here for now; in the future it might be better to have 
separate procedures for creating inter-router and route-container connections.
+When a router connects to a broker, the broker may provide backup 
connection data that the router can use if the primary connection fails. If the 
primary connection fails, the router attempts to reconnect by using a 
combination of the primary and -- if provided -- backup connections. For more 
information about viewing the backup connection data provided by the broker, 
see xref:managing_connectors[].
 
--- End diff --

Done.


> Document how Dispatch Router uses alternate failover URLs
> -
>
> Key: DISPATCH-879
> URL: https://issues.apache.org/jira/browse/DISPATCH-879
> Project: Qpid Dispatch
>  Issue Type: Bug
>  Components: Documentation
>Reporter: Ben Hardesty
>Assignee: Ben Hardesty
>




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (DISPATCH-879) Document how Dispatch Router uses alternate failover URLs

2017-11-20 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/DISPATCH-879?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16259480#comment-16259480
 ] 

ASF GitHub Bot commented on DISPATCH-879:
-

Github user bhardesty commented on a diff in the pull request:

https://github.com/apache/qpid-dispatch/pull/220#discussion_r152050824
  
--- Diff: doc/new-book/managing-using-qdmanage.adoc ---
@@ -210,6 +211,13 @@ a|
 qdmanage query role port --type=connector
 
 
+|If the router is connected to a broker, view the alternate URLs on which 
the router can connect to the broker if the primary connection fails
+a|
+[options="nowrap",subs="+quotes"]
+
+qdmanage query failoverList --name=_CONNECTOR_NAME_
--- End diff --

Done.


> Document how Dispatch Router uses alternate failover URLs
> -
>
> Key: DISPATCH-879
> URL: https://issues.apache.org/jira/browse/DISPATCH-879
> Project: Qpid Dispatch
>  Issue Type: Bug
>  Components: Documentation
>Reporter: Ben Hardesty
>Assignee: Ben Hardesty
>




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (DISPATCH-879) Document how Dispatch Router uses alternate failover URLs

2017-11-20 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/DISPATCH-879?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16259292#comment-16259292
 ] 

ASF GitHub Bot commented on DISPATCH-879:
-

Github user ganeshmurthy commented on a diff in the pull request:

https://github.com/apache/qpid-dispatch/pull/220#discussion_r152005795
  
--- Diff: doc/new-book/managing-using-qdmanage.adoc ---
@@ -210,6 +211,13 @@ a|
 qdmanage query role port --type=connector
 
 
+|If the router is connected to a broker, view the alternate URLs on which 
the router can connect to the broker if the primary connection fails
+a|
+[options="nowrap",subs="+quotes"]
+
+qdmanage query failoverList --name=_CONNECTOR_NAME_
--- End diff --

to be consistent the qdmanage query command should look like this - 

qdmanage query failoverList --type=connector --name=_CONNECTOR_NAME_


> Document how Dispatch Router uses alternate failover URLs
> -
>
> Key: DISPATCH-879
> URL: https://issues.apache.org/jira/browse/DISPATCH-879
> Project: Qpid Dispatch
>  Issue Type: Bug
>  Components: Documentation
>Reporter: Ben Hardesty
>Assignee: Ben Hardesty
>




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (DISPATCH-879) Document how Dispatch Router uses alternate failover URLs

2017-11-17 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/DISPATCH-879?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16257571#comment-16257571
 ] 

ASF GitHub Bot commented on DISPATCH-879:
-

Github user ganeshmurthy commented on a diff in the pull request:

https://github.com/apache/qpid-dispatch/pull/220#discussion_r151789336
  
--- Diff: doc/new-book/configuration-connections.adoc ---
@@ -56,7 +56,10 @@ If you have set up SSL/TLS or SASL in your environment, 
you can configure the ro
 [[adding_outgoing_connections]]
 == Adding Outgoing Connections
 
-Configuring outgoing connections involves setting the host and port on 
which the router should connect to other routers and brokers.
+Configuring outgoing connections involves setting the host and port on 
which the router connects to other routers and brokers.
+
+// Adding this here for now; in the future it might be better to have 
separate procedures for creating inter-router and route-container connections.
+When a router connects to a broker, the broker may provide backup 
connection data that the router can use if the primary connection fails. If the 
primary connection fails, the router attempts to reconnect by using a 
combination of the primary and -- if provided -- backup connections. For more 
information about viewing the backup connection data provided by the broker, 
see xref:managing_connectors[].
 
--- End diff --

Can we please add the following - 

If the router is unable to successfully connect using the primary or the 
backup connection information, it round robins around the list until it is able 
to make a successful connection. 


> Document how Dispatch Router uses alternate failover URLs
> -
>
> Key: DISPATCH-879
> URL: https://issues.apache.org/jira/browse/DISPATCH-879
> Project: Qpid Dispatch
>  Issue Type: Bug
>  Components: Documentation
>Reporter: Ben Hardesty
>Assignee: Ben Hardesty
>




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org



[jira] [Commented] (DISPATCH-879) Document how Dispatch Router uses alternate failover URLs

2017-11-17 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/DISPATCH-879?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16257457#comment-16257457
 ] 

ASF GitHub Bot commented on DISPATCH-879:
-

GitHub user bhardesty opened a pull request:

https://github.com/apache/qpid-dispatch/pull/220

DISPATCH-879 - Document how routers use alternate failover URLs (WIP)

**Note:** This PR is under review. Please don't merge yet.

@ganeshmurthy, can you please review for technical accuracy?

In the part where we talk about outgoing connections, I described a bit 
about how routers use the failover list. Also, in the part about managing 
outgoing connections, I added a command that can be used to view the failover 
list.

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/bhardesty/qpid-dispatch 
dispatch-879-failover-url

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/qpid-dispatch/pull/220.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #220


commit 9df847158619d0c77449fadc3b5bea907949d4f1
Author: Ben Hardesty 
Date:   2017-11-16T22:47:54Z

Doc how routers use alternate connection url




> Document how Dispatch Router uses alternate failover URLs
> -
>
> Key: DISPATCH-879
> URL: https://issues.apache.org/jira/browse/DISPATCH-879
> Project: Qpid Dispatch
>  Issue Type: Bug
>  Components: Documentation
>Reporter: Ben Hardesty
>Assignee: Ben Hardesty
>




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

-
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org