featurebase/server
Seebs cf97a0dcb8 overhaul: switch over to using QueryContext
We switch everything to use QueryContext/QueryRead/etc instead
of Qcx/Tx.

We drop the short_txkey subpackage (it's now handled by either
keys or querycontext).

We drop all the dbshard stuff, and all the tx/txfactory stuff.

We remove all the things that related to the old "Block" concept,
which was mostly used by the anti-entropy code, but had one
fragmentary usage left in the ImportRoaringOverwrite case of
ImportRoaring. That's replaced by using a rewriter that deletes
all bits (not just bits in specific columns) from an existing
thing, but writes in new bits. Actually we could probably do that
better with a custom "eradicate-rewriter" that doesn't try to
be clever, and just eliminates things.

This includes a number of minor bug fixes that were
exposed by getting the testing to work. For example:
* When checking whether an operation "requires write", we
  now consider a Delete a kind of a Write, because it is.
* Several tests were relying on the fact that writes through
  Qcx were being committed whether or not the Qcx was ever
  told to finish. With QueryContext, you actually have to
  reach a Commit() or the writes don't happen (except for
  special cases in Delete).
* Replaced a lot of panics with t.Fatalf in tests.

There's also some minor staticcheck fixes, like deleting the
unused "db" member of a boltdb transaction wrapper.
2023-01-11 12:57:56 -06:00
..
testdata/certs Supply "subject alternative name" for TLS certificates 2020-10-20 14:14:26 -05:00
cluster_test.go Remove most of the resize-related logic 2022-06-21 17:03:09 -05:00
config.go Add dd tracer and associated config options (#2403) 2023-01-10 14:06:09 -08:00
config_internal_test.go FB-1378: Use IP whitelisting for ingest authentication and authorization (#2070) 2022-05-20 14:57:05 -05: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 overhaul: switch over to using QueryContext 2023-01-11 12:57:56 -06:00
grpc_internal_test.go Dataframe (#2241) 2022-11-21 17:38:48 -06:00
grpc_test.go Stop using string keys in contexts 2022-11-04 15:01:40 -06:00
handler_test.go overhaul: switch over to using QueryContext 2023-01-11 12:57:56 -06:00
server.go Create main log with 640 permissions, leave all other logs the same. (#2402) 2023-01-10 14:52:33 -08:00
server_internal_test.go addresses multiple authn/z tickets 2022-01-14 12:31:32 -06:00
server_test.go overhaul: switch over to using QueryContext 2023-01-11 12:57:56 -06:00
sql.go Upgrade go.mod to featurebase/v3 2022-01-21 10:57:05 -07:00
tlsconfig.go drop ioutil 2022-09-23 16:56:27 -05:00
tlsconfig_test.go add guardrails to TLS configs 2022-06-28 11:58:19 -05:00
trial.go Upgrade go.mod to featurebase/v3 2022-01-21 10:57:05 -07:00