Bug 981146 - pmchart in archive mode uses wrong (old) update interval when loading additional views
pmchart in archive mode uses wrong (old) update interval when loading additio...
Status: CLOSED UPSTREAM
Product: Fedora EPEL
Classification: Fedora
Component: pcp-gui (Show other bugs)
el6
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Mark Goodwin
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2013-07-04 02:34 EDT by Mark Goodwin
Modified: 2014-02-04 16:43 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2014-02-04 16:43:12 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
patch to add setArchiveInterval method to pmchart timecontrol and call it when a pmtime 'delta' packet is received (1.44 KB, patch)
2013-07-04 02:39 EDT, Mark Goodwin
no flags Details | Diff

  None (edit)
Description Mark Goodwin 2013-07-04 02:34:20 EDT
Description of problem: in archive mode, pmchart "forgets" the current update interval after loading a second view - it falls back to the original default update interval from when pmchart was first started - but only for the new chart(s) - existing charts are still correct (but obviously inconsistent with the new charts because they are plotted with different update intervals!)

Version-Release number of selected component (if applicable):
pcp-gui-1.5.9-1.x86_64

How reproducible: always

Steps to Reproduce:
1. run pmchart -a somearchive -c CPU
2. expose the time controls and change the update interval
3. load some another view, say Loadavg

Actual results:
pmchart creates the second view, but with the original update interval that pmchart was first started with

Expected results:
pmchart should create the second view using the current update interval

Additional info:
fix available - I'll post it. This is similar to an earlier bug (now fixed) where pmchart forgets the archive position when loading a new view - the update interval is affected too,
Comment 1 Mark Goodwin 2013-07-04 02:39:39 EDT
Created attachment 768607 [details]
patch to add setArchiveInterval method to pmchart timecontrol and call it when a pmtime 'delta' packet is received

patch to save the new update interval when a pmtime 'delta' packet is received
Comment 2 Nathan Scott 2014-02-04 16:43:12 EST
Closing out manually - issue has been long since fixed.

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