Bug 1399162 - history_configuration table is being updated too much
Summary: history_configuration table is being updated too much
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine-dwh
Classification: oVirt
Component: ETL
Version: 4.0.1
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ovirt-4.0.6
: 4.0.6
Assignee: Shirly Radco
QA Contact: Lukas Svaty
URL:
Whiteboard:
Depends On:
Blocks: 1401304
TreeView+ depends on / blocked
 
Reported: 2016-11-28 13:06 UTC by Shirly Radco
Modified: 2017-01-18 07:29 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2017-01-18 07:29:27 UTC
oVirt Team: Metrics
Embargoed:
rule-engine: ovirt-4.0.z+
rule-engine: ovirt-4.1+
rule-engine: exception+
rule-engine: planning_ack+
sradco: devel_ack+
lsvaty: testing_ack+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 67485 0 master MERGED history: Fixed firstSync updating process 2016-11-29 15:38:17 UTC
oVirt gerrit 67791 0 ovirt-engine-dwh-4.0 MERGED history: Fixed firstSync updating process 2016-12-04 12:26:56 UTC

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


Note You need to log in before you can comment on or make changes to this bug.