[
https://issues.apache.org/jira/browse/S2GRAPH-65?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
DOYUNG YOON updated S2GRAPH-65:
-------------------------------
Fix Version/s: 0.1.0
> Deferred produce exception.
> ---------------------------
>
> Key: S2GRAPH-65
> URL: https://issues.apache.org/jira/browse/S2GRAPH-65
> Project: S2Graph
> Issue Type: Bug
> Reporter: DOYUNG YOON
> Assignee: DOYUNG YOON
> Labels: cache, newbie, query
> Fix For: 0.1.0
>
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> 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)