michaelandrepearce commented on a change in pull request #3492:
URL: https://github.com/apache/activemq-artemis/pull/3492#discussion_r594827965



##########
File path: 
tests/unit-tests/src/test/java/org/apache/activemq/artemis/tests/unit/core/postoffice/impl/AddressMapUnitTest.java
##########
@@ -638,7 +638,7 @@ public void testHashA() throws Exception {
       assertFalse(aABCA.matches(aHashA));
       assertFalse(aHashA.matches(aABCA));
 
-      assertEquals(0, countMatchingWildcards(abcaS));
+      assertEquals(1, countMatchingWildcards(abcaS));

Review comment:
       My issue is that would be a change of behaviour, that some users may 
have got used to and built systems around such quirks.  As such just changing 
that may break many users.
   
   If theres a change in behaviour it needs to be behind a toggle and then by 
default kept as original. And original behaviour tests kept as is to ensure 
that.
   
   This is the same as when we aligned queue naming for amqp, so that it used 
the same rules as core and openwire so there wasnt a conflict and you could 
then have openwire core and amqp consumers share the same shares subs (queues). 
Whilst it would have been nice to default on the better new behaviour, to avoid 
least astonishment for existing users it went behind a toggle and defaulted to 
the original behaviour.
   
   Only at the next major release aka 3.0.0 would we then be able to change 
that default behaviour with the major version change. Theres a few things like 
the one i mentioned thats waiting to change those defaults at the next major.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to