Bug 1601264
| Summary: | Vim Performance States Table Causing Region to Lock up During a Vacuum | |||
|---|---|---|---|---|
| Product: | Red Hat CloudForms Management Engine | Reporter: | myoder | |
| Component: | Appliance | Assignee: | Joe Rafaniello <jrafanie> | |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Tasos Papaioannou <tpapaioa> | |
| Severity: | high | Docs Contact: | ||
| Priority: | high | |||
| Version: | 5.9.0 | CC: | abellott, cpelland, jrafanie, myoder, obarenbo, rspagnol, simaishi, tpapaioa | |
| Target Milestone: | GA | Keywords: | TestOnly, ZStream | |
| Target Release: | 5.10.0 | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | 5.10.0.5 | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1603026 (view as bug list) | Environment: | ||
| Last Closed: | 2019-02-11 14:01:10 UTC | Type: | Bug | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | Bug | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | CFME Core | Target Upstream Version: | ||
| Embargoed: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 1603026 | |||
|
Description
myoder
2018-07-15 19:59:26 UTC
New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/8da858fdef849a079a97233f45667c314406bcb4 commit 8da858fdef849a079a97233f45667c314406bcb4 Author: Joe Rafaniello <jrafanie> AuthorDate: Mon Jul 16 14:04:34 2018 -0400 Commit: Joe Rafaniello <jrafanie> CommitDate: Mon Jul 16 14:04:34 2018 -0400 Maintenance must run VACUUM to avoid long held locks https://bugzilla.redhat.com/show_bug.cgi?id=1601264 It's hard to say which tables may or may not grow too large that we cannot easily run VACUUM FULL on them as part of maintenance. Therefore we should do the safest thing possible and run VACUUM for routine maintenance and leave VACUUM FULL when table bloat becomes a problem. Some tables, such as vim_performance_states can grow so large that a VACUUM FULL could lock up the table for many minutes and could fail to complete during the normal 10 minute queue timeout. lib/extensions/ar_base.rb | 2 +- spec/lib/extensions/ar_base_spec.rb | 14 + 2 files changed, 15 insertions(+), 1 deletion(-) Hi Yoder, the postgresl.log doesn't contain reference to vim_performance_states. Can they provide the rotated logs? Yeah, exporting those tables might help us understand where the problem lies. Verified on 5.10.0.16. |