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

DegreeValue is not consistent with total number of edges after deleteAll. #137

Closed SteamShon closed 8 years ago

SteamShon commented 8 years ago

current implementation using retry logic and if any partial failure happen during mutations, then increment on degreeVal could be issued multiple time only because of retry logic.

This yield to inconsistent degree value when same edge is updated and deleted multiple times and when delete all outgoing/incomming edges by deleteAll.

Need way to avoid multiple increment for degree value.