storj/satellite/satellitedb
paul cannon 3b12b5e85c
non-racy CreateEntryIfNotExists() (#1611)
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.
2019-03-29 15:07:07 -06:00
..
dbx Merge overlay_cache_nodes into nodes table (#1581) 2019-03-29 10:53:43 +02:00
satellitedbtest Satellite migrations (#1301) 2019-02-14 23:55:21 +02:00
testdata Merge overlay_cache_nodes into nodes table (#1581) 2019-03-29 10:53:43 +02:00
accounting.go Merge overlay_cache_nodes into nodes table (#1581) 2019-03-29 10:53:43 +02:00
apikeys.go Add console to satellite peer (#1120) 2019-01-24 18:26:36 +02:00
bandwidthagreement.go Repair queue isolation level fix (#1466) 2019-03-14 17:12:47 -04:00
bucketusage.go Bucket usage info rollup table creation and implementation (#1340) 2019-03-06 17:54:48 +02:00
certdb.go remove utils.CombineErrors and utils.ErrorGroup (#1603) 2019-03-29 14:30:23 +02:00
consoledb_test.go Console postgres tests (#1188) 2019-01-31 15:01:13 +02:00
consoledb.go V3-1319 Add an authorization token field for account creation backend (#1492) 2019-03-19 19:55:43 +02:00
database.go Satellite orders receiving (#1564) 2019-03-27 11:24:35 +01:00
irreparabledb.go remove utils.CombineErrors and utils.ErrorGroup (#1603) 2019-03-29 14:30:23 +02:00
locked.go Merge overlay_cache_nodes into nodes table (#1581) 2019-03-29 10:53:43 +02:00
lockedtx.go ConsoleDB merge and buckets table creation (#1066) 2019-01-16 15:23:28 -05:00
migrate_postgres_test.go Change payments to use statDB for wallet addresses rather than Overlay cache (#1368) 2019-03-01 10:46:34 -07:00
migrate.go Merge overlay_cache_nodes into nodes table (#1581) 2019-03-29 10:53:43 +02:00
orders.go Create orders.Service (#1593) 2019-03-28 22:09:23 +02:00
overlaycache.go non-racy CreateEntryIfNotExists() (#1611) 2019-03-29 15:07:07 -06:00
projectmembers_test.go V3-1307 combine first and last name to full name (#1569) 2019-03-27 14:33:32 +02:00
projectmembers.go fix error handling in GetByProjectID (#1604) 2019-03-29 14:55:05 +02:00
projects_test.go Console postgres tests (#1188) 2019-01-31 15:01:13 +02:00
projects.go remove utils.CombineErrors and utils.ErrorGroup (#1603) 2019-03-29 14:30:23 +02:00
regtokens.go V3-1319 Add an authorization token field for account creation backend (#1492) 2019-03-19 19:55:43 +02:00
repairqueue.go Repair queue isolation level fix (#1466) 2019-03-14 17:12:47 -04:00
users_test.go V3-1307 combine first and last name to full name (#1569) 2019-03-27 14:33:32 +02:00
users.go V3-1307 combine first and last name to full name (#1569) 2019-03-27 14:33:32 +02:00
utils_test.go Add console to satellite peer (#1120) 2019-01-24 18:26:36 +02:00
utils.go Add console to satellite peer (#1120) 2019-01-24 18:26:36 +02:00