Bug 756100
Summary: | RFE: use timestamp and file size during drift detection scans | ||
---|---|---|---|
Product: | [Other] RHQ Project | Reporter: | John Sanda <jsanda> |
Component: | drift | Assignee: | Jay Shaughnessy <jshaughn> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Mike Foley <mfoley> |
Severity: | urgent | Docs Contact: | |
Priority: | high | ||
Version: | 4.2 | CC: | jshaughn |
Target Milestone: | --- | Keywords: | FutureFeature, Improvement |
Target Release: | RHQ 4.3.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | 4.3 | Doc Type: | Enhancement |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-08-31 10:16:35 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 707225, 760116 |
Description
John Sanda
2011-11-22 17:14:06 UTC
master commit e60b0694356357d6c73b04128606afe6d75e3041 Now using timestamp and filesize info to avoid SHA digest generation when possible. Jsanda added most of the support, working the new info into the changeset files. Jshaughn added support for handling situations where the current changeset is supplied by the server, due to pinning or agent sync. When supplied by the server no timestamp info is available, so the non-timestamped changesets must be replaced with timestamped versions as soon as possible. Test Notes Although the benefit is performance oriented and not testable in a standard fashion, there are still many scenarios that can be exercised to ensure that the added support does not generate problems in the various workflows. In particular exercise non-pinned definitions and multiple snapshots with all varieties of drift (including, if possible on the OS, setting monitored files non-readable by the agent process. These files should be treated like removed files but have some different internal code paths). Also, exercise pinned defs, moving then in and out of compliance with all types of drift. And also, starting the agent --clean (or --purgedata) such that drift sync must be executed. Documenting verification with Drift TCMS test case execution runs https://tcms.engineering.redhat.com/plan/4174/#testruns Bulk close of old bugs in VERIFIED state. |