New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JBEAP-6170 messages could be sent to wrong queue #103
Conversation
999c4db
to
3e203f6
Compare
Hi, I reviewed your change and I think that it is not correct. Imagine a following scenario:
In the original fix on HornetQ the sendingAddress from doSend method is passed to session.checkDefaultAddress not ClientProducerImpl.address. |
@dudaerich are you saying the upstream fix is wrong or it has been cherry picked incorrectly? |
Also the EAP Jira needs to be added to the commit mesage |
@andytaylor the upstream fix is wrong as well. |
3e203f6
to
c929226
Compare
@dudaerich my fault, is it better ? |
Then it needs fixing upstream and both fixes cherry-picked |
@treblereel yes, it looks good now. |
@dudaerich done, apache#781 |
c929226
to
8e636ca
Compare
retest this please |
Tests passed. |
@treblereel can you please ensure that you have included the upstream JIRA, the cherry-pick commit and the downstream JBEAP-XXXX. In the "commit message" not just the PR message. The JBEAP referenced in the PR has been closed. Is this the correct one: https://issues.jboss.org/browse/JBEAP-6170 |
@mtaylor today is a public holiday, may i check it tomorrow ? |
@treblereel yes of course. Enjoy! |
@mtaylor sorry for delay, i think, it happens, because i did this PR before QA did JBEAP-6065 (new scenario), maybe it's better to change reference from JBEAP-4721 to JBEAP-6065, is case 4721 already verified. ps. i have to check which branch is used for 7.1 ... |
It should be enough to have all links correctly in the PR description. Retro-fitting commit messages is very much a pain.
|
In rare circumstances MessageProducer can send a message to wrong queue
8e636ca
to
038c874
Compare
@wolfc I don't know what you mean re: "retro fitting a commit message is very much a pain". During the cherry-pick just add the JBEAP JIRA and information required. To fix it (if someone forgot) git rebase -i and a rename. The whole process takes less that a minute and it makes it easier for us to track which commits align to particular JIRAs. |
In rare circumstances MessageProducer can send a message
to wrong queue
JIRA: https://issues.apache.org/jira/browse/ARTEMIS-715
https://issues.jboss.org/browse/JBEAP-6170
(cherry picked from commit 62f90ea)