-
Notifications
You must be signed in to change notification settings - Fork 897
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
[WIP]Use create_with vs use blocks for miq_queue updates #14569
Conversation
3d3536a
to
d61a2e5
Compare
Regarding the failure, it looks like it was manipulating the values going into the db. So this is a change in behavior I'm ok changing this behavior:
|
Oh fun, so |
WIP: |
d6eb116
to
ece66a2
Compare
Non WIP just 1 commit |
62f045c
to
c69bb53
Compare
34439bd
to
a1e8b74
Compare
Removed last rubo-cop warning. |
This pull request is not mergeable. Please rebase and repush. |
a1e8b74
to
7c22332
Compare
pulled out the kubernetes fixes. |
This pull request is not mergeable. Please rebase and repush. |
Getting away from manipulating the put_unless_exists hash and instead AuthenticationMixin requires ManageIQ#14562 which allows deliver_on to work in miq_queue.create_with
7c22332
to
331c289
Compare
Checked commit kbrock@331c289 with ruby 2.2.6, rubocop 0.47.1, and haml-lint 0.20.0 |
This pull request is not mergeable. Please rebase and repush. |
@kbrock Is there anything left for this, or have these been replaced by other PRs? |
merged in individual requests |
Blocked on
MiqQueue#put_unless_exists
supports create_with #14562 supportcreate_with(:deliver_on =>).put...
The goal is to have fewer
put_or_update
calls and move over toput_unless_exists
, which are easier to express as a single query.The high-level premise is we are using
put_or_update
because we didn't know how to useput_unless_exists
properly.related: #14676