-
Notifications
You must be signed in to change notification settings - Fork 2.3k
In processAllUnacks, change it so only the unacks from the past get reset #1875
In processAllUnacks, change it so only the unacks from the past get reset #1875
Conversation
Let me vote "Merge" on this one... |
Please fix the build failure :
|
Codecov Report
@@ Coverage Diff @@
## dev #1875 +/- ##
============================================
+ Coverage 64.91% 65.00% +0.08%
- Complexity 3866 3888 +22
============================================
Files 298 299 +1
Lines 18387 18451 +64
Branches 1674 1684 +10
============================================
+ Hits 11936 11994 +58
- Misses 5623 5624 +1
- Partials 828 833 +5
Continue to review full report at Codecov.
|
@apanicker-nflx I fixed the build error but I did it by converting the test case so that it would work with the new code. I am not completely sure whether the old test case was constructed to conform to the old code or if it was a legitimate test case that I should have left alone. I would like someone else to review it if possible. |
@mactaggart @mashurex Could you please help with reviewing this pull request? Thanks |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The changes for mysql look good.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
changes look good. Thanks!
…eset (Netflix#1875) * only reset unacks from the past * fix the test cases so that it matches the change to the code * fix the test cases so that it matches the change to the code * fix the test cases so that it matches the change to the code * fix the test cases so that it matches the change to the code * fix the test cases so that it matches the change to the code * fix the test cases so that it matches the change to the code * fix the test cases so that it matches the change to the code * fix the test cases so that it matches the change to the code * fix the test cases so that it matches the change to the code * fix the test cases so that it matches the change to the code * fix the test cases so that it matches the change to the code * fix the test cases so that it matches the change to the code * fix the test cases so that it matches the change to the code * fix the test cases so that it matches the change to the code Co-authored-by: u447 <rick.fishman@bcbsfl.com>
This is a solution for Issue #1859. Tasks that were popped had their popped status set to false before they were acked so a future poll could get the same task. This PR only resets the popped flag for tasks that were popped in the past by a minute, not in the future by a minute.