Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1399162

Summary: history_configuration table is being updated too much
Product: [oVirt] ovirt-engine-dwh Reporter: Shirly Radco <sradco>
Component: ETLAssignee: Shirly Radco <sradco>
Status: CLOSED CURRENTRELEASE QA Contact: Lukas Svaty <lsvaty>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.0.1CC: bugs, lsvaty, sradco
Target Milestone: ovirt-4.0.6Keywords: Performance
Target Release: 4.0.6Flags: rule-engine: ovirt-4.0.z+
rule-engine: ovirt-4.1+
rule-engine: exception+
rule-engine: planning_ack+
sradco: devel_ack+
lsvaty: testing_ack+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-01-18 07:29:27 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Metrics RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1401304    

Description Shirly Radco 2016-11-28 13:06:38 UTC
Description of problem:
The history_configuration table updates "firstSync" even though no update was needed. Should update only if "firstSync" is set to "true".

Version-Release number of selected component (if applicable):
4.0

How reproducible:


Steps to Reproduce:
1.Should check the number of table updates and see that it update only if a record was actually updated. 
2. Set the "firstSync" to "true" and see that it will update to "false" and number of table updates should remain the same (unless there are errors)

Actual results:
history_configuration table updates "firstSync" even though no update was needed.

Expected results:
Should update only if "firstSync" is set to "true".

Additional info:

Comment 1 Yaniv Kaul 2016-12-01 13:39:05 UTC
Is there a backport to 4.0.6 ready already, or have we missed 4.0.6?

Comment 2 Lukas Svaty 2016-12-16 13:40:18 UTC
verified sanity only in ovirt-engine-dwh-4.0.6-1.el7ev.noarch