storj/private
paul cannon 6231842422 private/dbutil: add WithTx transaction helpers
These helpers will work similar to the WithTx method we have added to
our dbx.DB instances, but it will use crdb.ExecuteTx or crdb.ExecuteInTx
when the backend is CockroachDB, so that transactions are retried
correctly.

Anything that uses transactions and might need to work against
CockroachDB needs to handle "RetriableError" from cockroachdb by
restarting the transaction. This will probably be a large pain if not
using these helpers or something very like them.

Subsequent changes will undertake transforming all db-transaction uses
in satellite code so that they are cockroach-safe.

Change-Id: I648b8de2168612c67b9d6eb8402bccf8286249a9
2020-01-06 20:06:45 +00:00
..
cui private: rename internal to private (#3573) 2019-11-14 21:46:15 +02:00
currency private: rename internal to private (#3573) 2019-11-14 21:46:15 +02:00
date private: rename internal to private (#3573) 2019-11-14 21:46:15 +02:00
dbutil private/dbutil: add WithTx transaction helpers 2020-01-06 20:06:45 +00:00
debugging private: rename internal to private (#3573) 2019-11-14 21:46:15 +02:00
migrate all: reduce number of log messages 2020-01-06 19:03:46 +00:00
post private: rename internal to private (#3573) 2019-11-14 21:46:15 +02:00
processgroup private: rename internal to private (#3573) 2019-11-14 21:46:15 +02:00
s3client common: separate repository 2019-12-27 14:11:15 +02:00
testblobs storagenode: Include trash space when calculating space used 2019-12-23 19:07:03 -07:00
testplanet private/testplanet: use redis for live accounting 2020-01-03 21:04:50 +00:00
testrevocation common: separate repository 2019-12-27 14:11:15 +02:00
teststorj common: separate repository 2019-12-27 14:11:15 +02:00
version common: separate repository 2019-12-27 14:11:15 +02:00