3b12b5e85c
This changes semantics slightly! with this change, CreateEntryIfNotExists() will do a cache Update with every node passed in, whether it exists or not. Update() already does a race-free upsert operation, so that change removes the problematic race in CreateEntryIfNotExists(). As far as I can tell, this semantic change doesn't break any expectations of callers, and shouldn't affect performance in a significant way, as we already have an awful lot of round-trips to the db either way. But if I've misunderstood the intention of the method, someone ought to catch it during review. |
||
---|---|---|
.. | ||
console | ||
mailservice | ||
metainfo | ||
orders | ||
satellitedb | ||
peer.go |