DOYUNG YOON created S2GRAPH-65:
----------------------------------

             Summary: Deferred produce exception.
                 Key: S2GRAPH-65
                 URL: https://issues.apache.org/jira/browse/S2GRAPH-65
             Project: S2Graph
          Issue Type: Bug
            Reporter: DOYUNG YOON


Current code has type bug on DeferCache.
We are specify type of value which will be stored in local cache as 
{{Deferred\[QueryResult\]}} but actual fetchInner expect 
{{Deferred\[QueryRequestWithResult\]}} in AsynchbaseStorage.scala. 

This only occur when queryParam has cacheTTL option.


wrong type.
{noformat}
private val futureCache = new DeferCache[QueryResult](config)(ec)
{noformat}

right type.
{noformat}
private val futureCache = new DeferCache[QueryRequestWithResult](config)(ec)
{noformat}

also caller of this futureCache variable need to be changed according to right 
type.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to