featurebase/server
Seebs 932e84b681 handling aggregate types: add to protobuf, etc
We want to distinguish different *kinds* of GroupCounts, so we're
making the GroupCounts parent object track its type so we can keep that
correct.

Adding this to protobuf, etc, then creates some weird behaviors
because sometimes we expect []GroupCount, and sometimes we expect
*GroupCounts. This implies changes to test cases. Also, the
changes to test cases imply that some test cases are probably now
wrong; for instance, they're expecting a "sum" column, equal to zero,
when no sum was requested.

We try to make the encoder handle a []*GroupCount gotten from another
node without panicing, and avoid breaking the semantics of the existing
messages, renumbering messages or components, etc.

Since a previous version, the `.Groups` member has been privatized,
and the `.Get()` convenience accessor has been renamed `.Groups()`
and is now used consistently in a way that should reduce the risk
of nil pointers causing crashes. Also, NewGroupCounts is used in
a couple more places.
2021-01-19 16:23:15 -06:00
..
testdata/certs Supply "subject alternative name" for TLS certificates 2020-10-20 14:14:26 -05:00
cluster_test.go Reduce default RBF DB size to 4GB; remove race skips 2020-10-06 09:36:31 -06:00
config.go deprecate cluster.long-query-time and create long-query-time 2020-12-10 10:51:31 -06:00
config_internal_test.go add --advertise-grpc configuration option 2020-07-09 11:17:12 -05:00
config_test.go Fix TranslateStore writable 2020-09-15 19:09:59 +02:00
default.go Unexport server.DefaultDiagnosticsInterval 2018-07-05 23:11:56 -05:00
dup.go Reduce duplication of setupLogger arch-specific code 2020-04-16 17:08:50 -05:00
dup_arm64.go Reduce duplication of setupLogger arch-specific code 2020-04-16 17:08:50 -05:00
grpc.go handling aggregate types: add to protobuf, etc 2021-01-19 16:23:15 -06:00
grpc_test.go handling aggregate types: add to protobuf, etc 2021-01-19 16:23:15 -06:00
handler_test.go Store start instead of age, skip remote, fix timing bug 2020-11-23 21:31:40 -06:00
pg.go handling aggregate types: add to protobuf, etc 2021-01-19 16:23:15 -06:00
pg_test.go handling aggregate types: add to protobuf, etc 2021-01-19 16:23:15 -06:00
release.go Unexport server.DefaultDiagnosticsInterval (in release tag) 2018-07-05 23:11:57 -05:00
server.go deprecate cluster.long-query-time and create long-query-time 2020-12-10 10:51:31 -06:00
server_test.go handling aggregate types: add to protobuf, etc 2021-01-19 16:23:15 -06:00
sql.go fix SQL memory leak 2020-08-31 13:10:49 -04:00
tlsconfig.go test and fix authentication of client certs btwn cluster nodes 2019-10-18 15:17:35 -05:00