[GitHub] activemq-artemis issue #2485: ARTEMIS-2217 ‘MQTTSessionState’ in the ‘...

2019-01-09 Thread onlyMIT
Github user onlyMIT commented on the issue: https://github.com/apache/activemq-artemis/pull/2485 @jbertram OK,I will close this RP。There is a small suggestion, can you keep the "getSessionState" method,because the RP #2466 has used this method。 In the case o

[GitHub] activemq-artemis pull request #2485: ARTEMIS-2217 ‘MQTTSessionState’ in ...

2019-01-09 Thread onlyMIT
Github user onlyMIT closed the pull request at: https://github.com/apache/activemq-artemis/pull/2485 ---

[GitHub] activemq-artemis pull request #2491: ARTEMIS-2217 remove state on clean MQTT...

2019-01-08 Thread onlyMIT
Github user onlyMIT commented on a diff in the pull request: https://github.com/apache/activemq-artemis/pull/2491#discussion_r246247094 --- Diff: artemis-protocols/artemis-mqtt-protocol/src/main/java/org/apache/activemq/artemis/core/protocol/mqtt/MQTTSession.java --- @@ -117,14

[GitHub] activemq-artemis issue #2493: ARTEMIS-2223 when a new consumer is created, n...

2019-01-08 Thread onlyMIT
Github user onlyMIT commented on the issue: https://github.com/apache/activemq-artemis/pull/2493 The test is correct.can close the jira and pull request ---

[GitHub] activemq-artemis pull request #2493: ARTEMIS-2223 when a new consumer is cre...

2019-01-08 Thread onlyMIT
Github user onlyMIT closed the pull request at: https://github.com/apache/activemq-artemis/pull/2493 ---

[GitHub] activemq-artemis pull request #2491: ARTEMIS-2217 remove state on clean MQTT...

2019-01-08 Thread onlyMIT
Github user onlyMIT commented on a diff in the pull request: https://github.com/apache/activemq-artemis/pull/2491#discussion_r246095670 --- Diff: artemis-protocols/artemis-mqtt-protocol/src/main/java/org/apache/activemq/artemis/core/protocol/mqtt/MQTTSession.java --- @@ -117,14

[GitHub] activemq-artemis issue #2491: ARTEMIS-2217 remove state on clean MQTT sessio...

2019-01-08 Thread onlyMIT
Github user onlyMIT commented on the issue: https://github.com/apache/activemq-artemis/pull/2491 @jbertram I think I found out why your solution passed the test, your test was constructed on a wrong test code. the solution your provided, after I tested it with the revised test

[GitHub] activemq-artemis pull request #2493: ARTEMIS-2223 when a new consumer is cre...

2019-01-08 Thread onlyMIT
GitHub user onlyMIT opened a pull request: https://github.com/apache/activemq-artemis/pull/2493 ARTEMIS-2223 when a new consumer is created, no subscription is called. In the 'MQTTTest.testCleanSession()' test method, when a new consumer is created, no subscription

[GitHub] activemq-artemis pull request #2491: ARTEMIS-2217 remove state on clean MQTT...

2019-01-07 Thread onlyMIT
Github user onlyMIT commented on a diff in the pull request: https://github.com/apache/activemq-artemis/pull/2491#discussion_r245879352 --- Diff: artemis-protocols/artemis-mqtt-protocol/src/main/java/org/apache/activemq/artemis/core/protocol/mqtt/MQTTSession.java --- @@ -117,14

[GitHub] activemq-artemis pull request #2491: ARTEMIS-2217 remove state on clean MQTT...

2019-01-07 Thread onlyMIT
Github user onlyMIT commented on a diff in the pull request: https://github.com/apache/activemq-artemis/pull/2491#discussion_r245878622 --- Diff: artemis-protocols/artemis-mqtt-protocol/src/main/java/org/apache/activemq/artemis/core/protocol/mqtt/MQTTSession.java --- @@ -117,14

[GitHub] activemq-artemis issue #2485: ARTEMIS-2217 ‘MQTTSessionState’ in the ‘...

2019-01-07 Thread onlyMIT
Github user onlyMIT commented on the issue: https://github.com/apache/activemq-artemis/pull/2485 @jbertram Nice! Really need more specific test ---

[GitHub] activemq-artemis pull request #2485: ARTEMIS-2217 ‘MQTTSessionState’ in ...

2018-12-29 Thread onlyMIT
GitHub user onlyMIT opened a pull request: https://github.com/apache/activemq-artemis/pull/2485 ARTEMIS-2217 ‘MQTTSessionState’ in the ‘SESSIONS ConcurrentHashMap’ n… …ever be removed ‘MQTTSessionState’ in the ‘SESSIONS ConcurrentHashMap’ should

[GitHub] activemq-artemis issue #2466: ARTEMIS-2206 The MQTT consumer reconnection ca...

2018-12-20 Thread onlyMIT
Github user onlyMIT commented on the issue: https://github.com/apache/activemq-artemis/pull/2466 @michaelandrepearce @clebertsuconic Added automated testing. And added locks for sub and unSub operations ---

[GitHub] activemq-artemis pull request #2466: ARTEMIS-2206 The MQTT consumer reconnec...

2018-12-19 Thread onlyMIT
GitHub user onlyMIT reopened a pull request: https://github.com/apache/activemq-artemis/pull/2466 ARTEMIS-2206 The MQTT consumer reconnection caused the queue to not be cle… ### Test environment 1. Use 10,000 (9 thousand senders, 1 thousand consumers) MQTT connection

[GitHub] activemq-artemis issue #2466: ARTEMIS-2206 The MQTT consumer reconnection ca...

2018-12-19 Thread onlyMIT
Github user onlyMIT commented on the issue: https://github.com/apache/activemq-artemis/pull/2466 @clebertsuconic Sorry, the pull request has been closed due to my misoperation, and it has now been restored. thank you very much for your help ---

[GitHub] activemq-artemis pull request #2466: ARTEMIS-2206 The MQTT consumer reconnec...

2018-12-19 Thread onlyMIT
Github user onlyMIT closed the pull request at: https://github.com/apache/activemq-artemis/pull/2466 ---

[GitHub] activemq-artemis issue #2466: ARTEMIS-2206 The MQTT consumer reconnection ca...

2018-12-18 Thread onlyMIT
Github user onlyMIT commented on the issue: https://github.com/apache/activemq-artemis/pull/2466 @clebertsuconic this is my first pull request on GitHub。Thank you for your understanding, I will try to use JIRA to submit the code, if you find the problem, I hope you correct me. ---

[GitHub] activemq-artemis pull request #2466: ARTEMIS-2206 The MQTT consumer reconnec...

2018-12-18 Thread onlyMIT
Github user onlyMIT commented on a diff in the pull request: https://github.com/apache/activemq-artemis/pull/2466#discussion_r242583621 --- Diff: artemis-server/src/main/java/org/apache/activemq/artemis/core/server/impl/ActiveMQServerImpl.java --- @@ -113,32 +113,7 @@ import

[GitHub] activemq-artemis pull request #2466: ARTEMIS-2206 The MQTT consumer reconnec...

2018-12-18 Thread onlyMIT
Github user onlyMIT commented on a diff in the pull request: https://github.com/apache/activemq-artemis/pull/2466#discussion_r242582946 --- Diff: artemis-protocols/artemis-mqtt-protocol/src/main/java/org/apache/activemq/artemis/core/protocol/mqtt/MQTTSubscriptionManager.java

[GitHub] activemq-artemis issue #2466: NO-JIRA The MQTT consumer reconnection caused ...

2018-12-18 Thread onlyMIT
Github user onlyMIT commented on the issue: https://github.com/apache/activemq-artemis/pull/2466 @michaelandrepearce JIRA has been created : https://issues.apache.org/jira/projects/ARTEMIS/issues/ARTEMIS-2206?filter=addedrecently Regarding automated testing, in addition

[GitHub] activemq-artemis pull request #2466: NO-JIRA The MQTT consumer reconnection ...

2018-12-17 Thread onlyMIT
GitHub user onlyMIT opened a pull request: https://github.com/apache/activemq-artemis/pull/2466 NO-JIRA The MQTT consumer reconnection caused the queue to not be cle… ### Test environment 1. Use 10,000 (9 thousand senders, 1 thousand consumers) MQTT connection on one