Repository navigation
INT-3087:Fix MongoDbMessageStore removeMessage bug - #831
jodiestjohn wants to merge 1 commit into
Conversation
Added new query so the same message found in pollMessageFromGroup is the one which gets deleted. See jira for more details: https://jira.springsource.org/browse/INT-3087
There was a problem hiding this comment.
Jodie, thanks for your contribution.
Is there some reason you feel this should be public? We probably don't want it called from outside of removeMessgeFromGroup(), in which case it should be private. There might be an argument to make it protected final but I don't think we even want subclasses to call it discretely.
|
Hi, Jodie! I don't know, if you signed the CLA: https://support.springsource.com/spring_committer_signup, but it's good that community wants to contribute, thanks. |
|
As we know MongoDB doesn't support transactions, so we should make DB operations as less as possible. I'm now working under |
|
Hi Gary & Artem, To answer some of your questions. Yes, that method should be private. Yes I signed the CLA. yes, I should have unit tests. I didn't read the main spring Contributing doc. I only read the spring-intergation Contributing doc and tried to follow everything in there. Should I just close this pull request if you guys will be addressing this issue elsewhere? It's not a big deal to me if my particular commits don't get accepted as long as the issue gets fixed. For now my team is just going to run off a fork I made of 2.2.4 with my changes until a more permanent fix is put in place. Please let me know if you want me to continue updating this pull request with the changes you asked for. Thanks for the feedback. |
|
Hi, Jodie!
And that's all. Thank you very much for your contribution |
|
Artem, I added the changes you suggested here garyrussell@43b23dc Please review; thanks. |
|
Hi, Gary! LGTM, but I think there is no reason to have |
|
Hi Artem; I don't understand - sure, the change to What am I missing? |
|
Sorry, Gary, for delay: Internet issues 😄
Right. But it is only one place where this new Jodie's method is used. I mean: make its logic within |
|
ok; thanks; will merge today |
|
Merged with polish |
Added new query so the same message found in pollMessageFromGroup is the
one which gets deleted.
See jira for more details: https://jira.springsource.org/browse/INT-3087
Cherry-pick for 2.2.x