Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <2017 Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <2017
<== Date ==> <== Thread ==>

Subject: Re: Trend graph partly not shown in Data Browser with Archiver Appliance
From: Shuei YAMADA <shuei.yamada@gmail.com>
To: "Kasemir, Kay" <kasemirk@ornl.gov>
Cc: "Berryman, Eric" <berryman@frib.msu.edu>, "tech-talk@aps.anl.gov" <tech-talk@aps.anl.gov>
Date: Thu, 24 Aug 2017 10:30:30 +0900
Dear Kay,

> Kunal added a lock to ApplianceValueIterator, see https://github.com/ControlSystemStudio/cs-studio/commit/d902628f7272ca9b3d392a4d8636533799d5738d
> Check that your sources include this lock.
> If so, maybe you need to add/modify the locking in the ApplianceOptimizedValueIterator similar to what Kunal did in the ApplianceValueIterator.

I checked thru my source code and confirmed that the lock Kunal added
is already included. It seems that I don't have to modify
ApplianceOptimizedValueIterator because
ApplianceOptimizedValueIterator::fetchDataInternal() calls
ApplianceValueIterator::fetchDataInternal() to fetch data.

> You added synch. in the ArchiveFetchJob, but that is the generic part which interfaces to all types of archive readers, and those readers are expected to support multithreading.

This is exactly the reason why I "said quick and dirty workaround".
And it is better to retrieve all requested data than disabling
multi-threading, until the problem really get fixed.

best regards,
Shuei
-- 
                 ----------------------------------------------------
                 Shuei Yamada,
                 High Energy Accelerator Research Organization (KEK)
                 mailto:shuei@post.kek.jp
                 ----------------------------------------------------

References:
Trend graph partly not shown in Data Browser with Archiver Appliance Shuei YAMADA
Re: Trend graph partly not shown in Data Browser with Archiver Appliance Kasemir, Kay

Navigate by Date:
Prev: SNC Sequencer 2.2 not working when reading remote IOC variables? (no attachments) keith.thorne
Next: CSS-4.5 : Display-Builder : getting widget's PV value Amien Crombie
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <2017
Navigate by Thread:
Prev: Re: Trend graph partly not shown in Data Browser with Archiver Appliance Kasemir, Kay
Next: SNC Sequencer 2.2 not working when reading remote IOC variables? keith.thorne
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <2017
ANJ, 24 Aug 2017 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·