featurebase/server
tgruben dd139cd48d
[FB-1398] Mainline etcd (#2049)
* use mainline etcd-io dependencies, not forks

this commit does lots of things around clustering with goal of increasing stability.

- upgrades from molecula/etcd to go.etcd.io/etcd@v3.5.4
- upgrades from seebs/bbolt to go.etcd.io/bbolt@v1.3.6
- update tests to use unix sockets for etcd cluster communication
    - this is what etcd uses for a lot of internal testing, so if their devs think
      it's a valid test, we can probably accept that
- cleanup etcd node-watcher shutdown process

Co-authored-by: tgruben <tgruben@gmail.com>

* moved random query to another repo

it had weird dependency issues with upgrading to mainline etcd bc of the vegeta dep
so we removed it bc no one really uses it anyway

we got this error message:
```
github.com/molecula/featurebase/v3/cmd/random-query imports
	github.com/tsenart/vegeta/v12/lib tested by
	github.com/tsenart/vegeta/v12/lib.test imports
	github.com/streadway/quantile tested by
	github.com/streadway/quantile.test imports
	.: "." is relative, but relative import paths are not supported in module mode
```

* add cleanup to EtcdUnixSocket test util

Co-authored-by: reesporte <reesedporter@gmail.com>
2022-05-11 09:49:48 -05:00
..
testdata/certs Supply "subject alternative name" for TLS certificates 2020-10-20 14:14:26 -05:00
cluster_test.go listen on localhost:0 instead of :0 2022-03-18 13:38:30 -05:00
config.go add PartitionToNodeAssignment as a new option 2022-04-27 17:21:47 -05:00
config_internal_test.go updated the tests 2022-01-28 14:28:59 -06:00
config_test.go Upgrade go.mod to featurebase/v3 2022-01-21 10:57:05 -07:00
dup.go add copyright notice back in 2021-12-10 11:01:04 -06:00
dup_arm64.go add copyright notice back in 2021-12-10 11:01:04 -06:00
grpc.go fb1172: enable refresh tokens 2022-02-07 13:42:11 -06:00
grpc_test.go add tests for sql WHERE clause with timestamps 2022-03-03 22:20:49 -06:00
handler_test.go increase test coverage 2022-03-15 11:01:03 -05:00
pg.go Upgrade go.mod to featurebase/v3 2022-01-21 10:57:05 -07:00
pg_internal_test.go Upgrade go.mod to featurebase/v3 2022-01-21 10:57:05 -07:00
pg_test.go FB-1188 - Added TTL field option 2022-02-25 11:39:31 -06:00
server.go [FB-1398] Mainline etcd (#2049) 2022-05-11 09:49:48 -05:00
server_internal_test.go addresses multiple authn/z tickets 2022-01-14 12:31:32 -06:00
server_test.go update tests to reflect recent changes around allowing things when 2022-04-28 14:09:32 -05:00
sql.go Upgrade go.mod to featurebase/v3 2022-01-21 10:57:05 -07:00
tlsconfig.go Upgrade go.mod to featurebase/v3 2022-01-21 10:57:05 -07:00
trial.go Upgrade go.mod to featurebase/v3 2022-01-21 10:57:05 -07:00