storj/satellite/satellitedb
Bill Thorp 65408db6e0 satellite/satellitedb: Coinpayments repeat insert bug fix
I introduced a bug with https://review.dev.storj.io/c/storj/storj/+/2216
Because the log change allowed insert to be called multiple times.
This changes the insert logic to do nothing if the PK already exists.

Change-Id: I90d192a0f6619bfbb360ea104066f00a3348f6dd
2020-07-20 20:21:35 +00:00
..
dbx all: fix dots 2020-07-16 14:58:28 +00:00
satellitedbtest all: fix dots 2020-07-16 14:58:28 +00:00
testdata satellite/{console,satellitedb}: change project limiting based on new users field 2020-07-16 10:57:47 +00:00
apikeys.go all: fix dots 2020-07-16 14:58:28 +00:00
attribution_test.go all: remove old uuid 2020-04-02 19:30:36 +03:00
attribution.go all: fix dots 2020-07-16 14:58:28 +00:00
buckets.go satellite: prevents uplink from creating a bucket once it exceeds the max bucket allocation. 2020-07-15 17:27:05 +00:00
coinpaymentstxs_test.go satellite/satellitedb: Coinpayments repeat insert bug fix 2020-07-20 20:21:35 +00:00
coinpaymentstxs.go satellite/satellitedb: Coinpayments repeat insert bug fix 2020-07-20 20:21:35 +00:00
compensation.go all: fix dots 2020-07-16 14:58:28 +00:00
consoledb_test.go satellite/satellitedb/satellitedbtest: pass ctx as an argument 2020-01-20 16:35:42 +02:00
consoledb.go satellite/payments: fix promotional coupons 2020-01-29 16:40:43 +02:00
containment.go all: fix dots 2020-07-16 14:58:28 +00:00
coupons.go all: fix dots 2020-07-16 14:58:28 +00:00
credits.go satellite/payments: all invoice commands require period 2020-05-14 11:50:19 +00:00
customers.go all: replace == comparison with errors.Is 2020-07-14 15:50:25 +00:00
database.go all: fix dots 2020-07-16 14:58:28 +00:00
downtime.go satellite/satellitedb/dbx: name the package dbx 2020-01-15 15:16:39 -07:00
gracefulexit.go all: replace == comparison with errors.Is 2020-07-14 15:50:25 +00:00
heldamount.go all: fix error checking 2020-07-16 19:13:14 +03:00
invoiceprojectrecords.go all: fix dots 2020-07-16 14:58:28 +00:00
irreparabledb.go all: fix dots 2020-07-16 14:58:28 +00:00
migrate_test.go all: fix comments 2020-07-16 19:13:14 +03:00
migrate.go all: fix dots 2020-07-16 14:58:28 +00:00
nodeapiversion.go all: use jackc/pgx in place of lib/pq 2020-07-13 15:54:41 +00:00
nodeselection.go all: use jackc/pgx in place of lib/pq 2020-07-13 15:54:41 +00:00
offers.go all: fix dots 2020-07-16 14:58:28 +00:00
orders.go all: replace == comparison with errors.Is 2020-07-14 15:50:25 +00:00
overlaycache_test.go satellite/overlay: updates node with a vetted_at timestamp if they meet the vetting criteria 2020-05-20 16:30:26 -04:00
overlaycache.go all: fix dots 2020-07-16 14:58:28 +00:00
peeridentities.go all: fix dots 2020-07-16 14:58:28 +00:00
projectaccounting.go all: fix error checking 2020-07-16 19:13:14 +03:00
projectmembers_test.go web/satellite: project members sorting fixed (#3231) 2019-10-15 15:24:53 +03:00
projectmembers.go all: fix dots 2020-07-16 14:58:28 +00:00
projects_test.go satellite/satellitedb/dbx: name the package dbx 2020-01-15 15:16:39 -07:00
projects.go all: fix dots 2020-07-16 14:58:28 +00:00
regtokens.go all: fix dots 2020-07-16 14:58:28 +00:00
repairqueue.go all: replace == comparison with errors.Is 2020-07-14 15:50:25 +00:00
resetpasstokens.go all: fix dots 2020-07-16 14:58:28 +00:00
revocation_test.go satellite: Check macaroon revocation 2020-06-22 13:50:07 -06:00
revocation.go all: fix dots 2020-07-16 14:58:28 +00:00
storagenodeaccounting.go satellite/satellitedb: Monitor node tallies 2020-07-17 10:21:42 -06:00
stripecoinpaymentsdb.go satellite/payments : deposit bonuses (credits) added 2020-02-11 11:11:42 +00:00
usercredits.go all: fix dots 2020-07-16 14:58:28 +00:00
users_test.go satellite/satellitedb/dbx: name the package dbx 2020-01-15 15:16:39 -07:00
users.go all: fix dots 2020-07-16 14:58:28 +00:00