Skip to content
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

Effective delete complement #17882

Closed
wants to merge 1 commit into from

Conversation

Ladas
Copy link
Contributor

@Ladas Ladas commented Aug 21, 2018

Delete complement that works effectively even if we are passing hundreds of thousands of uuids

Depends on:

Specs and detailed benchmarks will be added in followups. So far testing on deleting 50k rows out of 100k and the query to fetch the records is very quick.

@Ladas Ladas force-pushed the effective_delete_complement branch from 9c16b6c to a3b9fa4 Compare August 21, 2018 07:35
@Ladas
Copy link
Contributor Author

Ladas commented Aug 21, 2018

@miq-bot assign @agrare
@miq-bot add_label enhancement

@miq-bot
Copy link
Member

miq-bot commented Aug 24, 2018

This pull request is not mergeable. Please rebase and repush.

Add efficient delete_complement, that easily works for hundreds
of thousands records involved
@Ladas Ladas force-pushed the effective_delete_complement branch from a3b9fa4 to cd76c80 Compare August 27, 2018 16:47
@Ladas Ladas changed the title [WIP] Effective delete complement Effective delete complement Aug 27, 2018
@miq-bot miq-bot removed the wip label Aug 27, 2018
@miq-bot
Copy link
Member

miq-bot commented Aug 27, 2018

Checked commit Ladas@cd76c80 with ruby 2.3.3, rubocop 0.52.1, haml-lint 0.20.0, and yamllint 1.10.0
6 files checked, 0 offenses detected
Everything looks fine. 🍪

@miq-bot
Copy link
Member

miq-bot commented Sep 17, 2018

This pull request is not mergeable. Please rebase and repush.

@agrare
Copy link
Member

agrare commented Sep 17, 2018

This code has moved to the inventory_refresh gem

@agrare agrare closed this Sep 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants