storj/private
Ivan Fraixedes 7fb86617fc satellite/satellitedb: Use CRDB AS OF SYSTEM & batch for GE
Use the 'AS OF SYSTEM TIME' Cockroach DB clause for the Graceful Exit
(a.k.a GE) queries that count the delete the GE queue items of nodes
which have already exited the network.

Split the subquery used for deleting all the transfer queue items of
nodes which has exited when CRDB is used and batch the queries because
CRDB struggles when executing in a single query unlike Postgres.

The new test which has been added to this commit to verify the CRDB
batch logic for deleting all the transfer queue items of the exited
nodes has raised that the Enqueue method has to run in baches when CRDB
is used otherwise CRDB has return the error "driver: bad connection"
when a big a amount of items are passed to be enqueued. This error
didn't happen with the current test implementation it was with an
initial one that it was creating a big amount of exited nodes and
transfer queue items for those nodes.

Change-Id: I6a099cdbc515a240596bc93141fea3182c2e50a9
2021-05-07 13:09:19 -04:00
..
crashreportpb crashcollect: process for receiving panics 2021-04-27 18:57:47 +03:00
cui all: golangci-lint v1.33.0 fixes (#3985) 2020-12-05 17:01:42 +01:00
currency private/currency: add strictcsv support to microunit 2020-03-31 14:57:04 -06:00
date storagenode/payouts: fix CurrentMonthExpectations timezone handling. Estimations based on node's join date. 2021-01-25 19:03:30 +02:00
debugging all: fix dots 2020-07-16 14:58:28 +00:00
lifecycle Merge 'master' branch 2020-11-10 11:58:59 +00:00
lrucache pkg/,private/: merge with private package 2021-04-23 16:37:28 +03:00
migrate all: fix error naming 2021-04-29 15:38:21 +03:00
multinodeauth multinode/console: list node infos 2021-01-05 14:49:11 +00:00
multinodepb mod: update drpc to v0.0.20 2021-03-24 19:06:56 +02:00
nodeoperator all: fix error naming 2021-04-29 15:38:21 +03:00
post all: fix error naming 2021-04-29 15:38:21 +03:00
prompt private/prompt: remove dependency to go-prompt 2020-02-25 13:09:41 +02:00
quic all: fix error naming 2021-04-29 15:38:21 +03:00
revocation all: fix error naming 2021-04-29 15:38:21 +03:00
server private/server: close connection after each connector test 2021-05-04 12:26:47 +00:00
testblobs Merge 'master' branch 2020-11-10 11:58:59 +00:00
testplanet satellite/satellitedb: Use CRDB AS OF SYSTEM & batch for GE 2021-05-07 13:09:19 -04:00
testredis Redis: Update Redis package to last major version 2021-03-18 14:19:49 +00:00
testrevocation pkg/,private/: merge with private package 2021-04-23 16:37:28 +03:00
teststorj all: fix dots 2020-07-16 14:58:28 +00:00
testuplink mod: bump uplink 2021-05-06 14:48:36 +00:00
version all: fix error naming 2021-04-29 15:38:21 +03:00
web all: fix linter complaints 2020-10-13 15:59:01 +03:00