[ 
https://issues.apache.org/jira/browse/S2GRAPH-139?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Daewon Jeong updated S2GRAPH-139:
---------------------------------
    Description: 
In case of label deletion, cacheKey is created as Some(id) form, while when 
label is generated, cacheKey is generated as id form.

{code}
// insert
val cacheKeys = List(s "id = ${createdId}", s "label = ${labelName}")
{code}

{code}
// delete
val cacheKeys = List(s "id = ${label.id}", s "label = ${label.label}")
{code}

  was:
In case of label deletion, cacheKey is created as Some(id) form, while when 
label is generated, cacheKey is generated as id form.

{code}
// insert
val cacheKeys = List(s "id = $createdId", s "label = $labelName")
{code}

{code}
// delete
val cacheKeys = List(s "id = ${label.id}", s "label = ${label.label}")
{code}


> Cache expire with wrong cache key when label is deleted.
> --------------------------------------------------------
>
>                 Key: S2GRAPH-139
>                 URL: https://issues.apache.org/jira/browse/S2GRAPH-139
>             Project: S2Graph
>          Issue Type: Bug
>            Reporter: Daewon Jeong
>            Priority: Minor
>
> In case of label deletion, cacheKey is created as Some(id) form, while when 
> label is generated, cacheKey is generated as id form.
> {code}
> // insert
> val cacheKeys = List(s "id = ${createdId}", s "label = ${labelName}")
> {code}
> {code}
> // delete
> val cacheKeys = List(s "id = ${label.id}", s "label = ${label.label}")
> {code}



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

Reply via email to