kakao / s2graph

This code base is retained for historical interest only, please visit Apache Incubator Repo for latest one
https://github.com/apache/incubator-s2graph
Other
250 stars 32 forks source link

Bucket model is not updated after cache TTL time. #187

Closed hsleep closed 8 years ago

hsleep commented 8 years ago

Experiment model has a Bucket list as a value. So, Bucket list in Experiment is not updated even if cache TTL time passed. When Bucket is changed in DB, SafeUpdateCache returns the old Bucket to initialize Experiment. So, Experiment is updated but Bucket is not. After 2*TTL time elapsed, Bucket list in Experiment is updated successfully.

daewon commented 8 years ago

@hsleep :+1: