-
Notifications
You must be signed in to change notification settings - Fork 379
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
Delete leaves from queue in UpdateLeaves #2159
Conversation
Looks like the batched queue version of the code will need to be adjusted as well. |
After taking a closer look at the Batched Queue implementation, I'm not sure if I can make this change. The batched queue version takes I'm unsure how to proceed now, since there's not really a behavior we can standardize and test against between the different storage implementations. |
@Martin2112 @AlCutter -- would love your thoughts on this. I was going to abandon this, but the cloudspanner dequeue operations are currently broken, and this is a prerequisite to having dequeue tests. Update - I think I have a solution |
Codecov Report
@@ Coverage Diff @@
## master #2159 +/- ##
==========================================
+ Coverage 64.24% 64.46% +0.21%
==========================================
Files 116 116
Lines 10002 9919 -83
==========================================
- Hits 6426 6394 -32
+ Misses 2958 2921 -37
+ Partials 618 604 -14
Continue to review full report at Codecov.
|
@Martin2112 the build is passing now. Not quite sure why the github / travis hook isn't picking it up. |
Tweeked the error message. Anything else needed? |
As long as we're happy that this is being properly tested and won't cause issues for users. |
This change brings the mysql implementation into line with what spanner does so we can have a consistent behavior between implementations.
Previous behavior:
Dequeue
Dequeue
, it does it inUpdateLeaves
New / spanner behavior:
mysql deletes leaves inside of
UpdateLeaves
updated mysql tests
I have updated the CHANGELOG.
I have updated documentation accordingly (including the feature implementation matrix).