storj/satellite
paul cannon 4a26fb5bd5 satellite/satellitedb: don't use crdb.ExecuteTx with postgres
crdb.ExecuteTx is great, but I don't think it will work right with
PostgreSQL. It works by way of cockroach savepoints, which allows
it to react to retryable errors, whereas tx.Commit() doesn't. But
I don't think PostgreSQL savepoints work exactly the same way. I'm not
100% sure, but it doesn't seem worth the risk.

So, I'm switching one case here to use the new dbutil.WithTx instead,
which will use crdb.ExecuteTx if appropriate. The other case doesn't
need a transaction at all.

Change-Id: I39283f3b5d8d47596db7aff5048bb74597e5918f
2020-01-06 23:51:35 +00:00
..
accounting all: reduce number of log messages 2020-01-06 19:03:46 +00:00
attribution common: separate repository 2019-12-27 14:11:15 +02:00
audit all: reduce number of log messages 2020-01-06 19:03:46 +00:00
console satellite/console: add credit card charges to billing history 2020-01-03 17:34:59 +02:00
contact satellite/{downtime,contact}: Add CheckNodeAvailability for use within the downtime tracking chores. 2020-01-02 18:24:11 +00:00
dbcleanup common: separate repository 2019-12-27 14:11:15 +02:00
downtime satellite:{downtime,overlay}: Implement offline node detection chore 2020-01-03 17:10:03 +00:00
gc satellite/gc: add timeout to retain requests 2020-01-03 21:46:46 +00:00
gracefulexit private/testplanet: remove dependency to uplink 2020-01-02 09:40:46 +00:00
inspector common: separate repository 2019-12-27 14:11:15 +02:00
mailservice satellite/mailservice: move logging to send rendered async to cover template parsing (#3654) 2019-11-28 12:29:48 +02:00
marketingweb common: separate repository 2019-12-27 14:11:15 +02:00
metainfo satellite/metainfo: Fixed bug that discarded context cancellation errors 2020-01-03 22:48:12 -05:00
metrics private/testplanet: remove dependency to uplink 2020-01-02 09:40:46 +00:00
nodestats common: separate repository 2019-12-27 14:11:15 +02:00
orders private/testplanet: remove dependency to uplink 2020-01-02 09:40:46 +00:00
overlay satellite/overlay: Return NodeLastContact instead of a node dossier from 2020-01-06 17:12:30 -05:00
payments satellite/console: add credit card charges to billing history 2020-01-03 17:34:59 +02:00
referrals common: separate repository 2019-12-27 14:11:15 +02:00
repair private/testplanet: remove dependency to uplink 2020-01-02 09:40:46 +00:00
rewards common: separate repository 2019-12-27 14:11:15 +02:00
satellitedb satellite/satellitedb: don't use crdb.ExecuteTx with postgres 2020-01-06 23:51:35 +00:00
vouchers common: separate repository 2019-12-27 14:11:15 +02:00
api.go all: reduce number of log messages 2020-01-06 19:03:46 +00:00
core.go all: reduce number of log messages 2020-01-06 19:03:46 +00:00
peer.go satellite:{downtime,overlay}: Implement offline node detection chore 2020-01-03 17:10:03 +00:00
repairer.go all: reduce number of log messages 2020-01-06 19:03:46 +00:00