2020-02-26 22:27:56 +00:00
|
|
|
module github.com/influxdata/influxdb
|
|
|
|
|
2025-01-28 19:31:31 +00:00
|
|
|
go 1.23
|
2020-02-26 22:27:56 +00:00
|
|
|
|
|
|
|
require (
|
|
|
|
collectd.org v0.3.0
|
|
|
|
github.com/BurntSushi/toml v0.3.1
|
2022-03-15 14:49:43 +00:00
|
|
|
github.com/apache/arrow/go/arrow v0.0.0-20211112161151-bc219186db40
|
2021-03-31 17:51:37 +00:00
|
|
|
github.com/benbjohnson/tmpl v1.0.0
|
2020-02-26 22:27:56 +00:00
|
|
|
github.com/bmizerany/pat v0.0.0-20170815010413-6226ea591a40
|
fix(influxd): update xxhash, avoid stringtoslicebyte in cache (#578) (#25622) (#25624)
* fix(influxd): update xxhash, avoid stringtoslicebyte in cache (#578)
* fix(influxd): update xxhash, avoid stringtoslicebyte in cache
This commit does 3 things:
* it updates xxhash from v1 to v2; v2 includes a assembly arm version of
Sum64
* it changes the cache storer to write with a string key instead of a
byte slice. The cache only reads the key which WriteMulti already has
as a string so we can avoid a host of allocations when converting back
and forth from immutable strings to mutable byte slices. This includes
updating the cache ring and ring partition to write with a string key
* it updates the xxhash for finding the cache ring partition to use
Sum64String which uses unsafe pointers to directly use a string as a
byte slice since it only reads the string. Note: this now uses an
assembly version because of the v2 xxhash update. Go 1.22 included new
compiler ability to recognize calls of Method([]byte(myString)) and not
make a copy but from looking at the call sites, I'm not sure the
compiler would recognize it as the conversion to a byte slice was
happening several calls earlier.
That's what this change set does. If we are uncomfortable with any of
these, we can do fewer of them (for example, not upgrade xxhash; and/or
not use the specialized Sum64String, etc).
For the performance issue in maz-rr, I see converting string keys to
byte slices taking between 3-5% of cpu usage on both the primary and
secondary. So while this pr doesn't address directly the increased cpu
usage on the secondary, it makes cpu usage less on both which still
feels like a win. I believe these changes are easier to review that
switching to a byte slice pool that is likely needed in other places as
the compiler provides nearly all of the correctness checks we need (we
are relying also on xxhash v2 being correct).
* helps #550
* chore: fix tests/lint
* chore: don't use assembly version; should inline
This 2 line change causes xxhash to use a purego Sum64 implementation
which allows the compiler to see that Sum64 only read the byte slice
input which them means is can skip the string to byte slice allocation
and since it can skip that, it should inline all the calls to
getPartitionStringKey and Sum64 avoiding 1 call to Sum64String which
isn't inlined.
* chore: update ci build file
the ci build doesn't use the make file!!!
* chore: revert "chore: update ci build file"
This reverts commit 94be66fde03e0bbe18004aab25c0e19051406de2.
* chore: revert "chore: don't use assembly version; should inline"
This reverts commit 67d8d06c02e17e91ba643a2991e30a49308a5283.
(cherry picked from commit 1d334c679ca025645ed93518b7832ae676499cd2)
* feat: need to update go sum
---------
Co-authored-by: Phil Bracikowski <13472206+philjb@users.noreply.github.com>
(cherry picked from commit 06ab2245164ce6091e873334695b8e752e060f69)
2024-12-06 22:05:03 +00:00
|
|
|
github.com/cespare/xxhash/v2 v2.3.0
|
2020-02-26 22:27:56 +00:00
|
|
|
github.com/davecgh/go-spew v1.1.1
|
|
|
|
github.com/dgryski/go-bitstream v0.0.0-20180413035011-3522498ce2c8
|
2021-03-30 17:09:04 +00:00
|
|
|
github.com/go-chi/chi v4.1.0+incompatible
|
2021-07-23 16:41:14 +00:00
|
|
|
github.com/golang-jwt/jwt v3.2.1+incompatible
|
2021-11-25 13:13:46 +00:00
|
|
|
github.com/golang/mock v1.5.0
|
2022-03-15 14:49:43 +00:00
|
|
|
github.com/golang/snappy v0.0.4
|
2024-01-19 22:40:48 +00:00
|
|
|
github.com/google/go-cmp v0.5.9
|
|
|
|
github.com/influxdata/flux v0.194.5
|
2021-03-30 17:09:04 +00:00
|
|
|
github.com/influxdata/httprouter v1.3.1-0.20191122104820-ee83e2772f69
|
2024-11-15 21:30:14 +00:00
|
|
|
github.com/influxdata/influxql v1.4.0
|
2022-03-15 14:49:43 +00:00
|
|
|
github.com/influxdata/pkg-config v0.2.11
|
2020-02-26 22:27:56 +00:00
|
|
|
github.com/influxdata/roaring v0.4.13-0.20180809181101-fc520f41fab6
|
|
|
|
github.com/influxdata/usage-client v0.0.0-20160829180054-6d3895376368
|
2020-07-06 21:34:55 +00:00
|
|
|
github.com/jsternberg/zap-logfmt v1.2.0
|
2020-02-26 22:27:56 +00:00
|
|
|
github.com/jwilder/encoding v0.0.0-20170811194829-b4e1701a28ef
|
|
|
|
github.com/klauspost/pgzip v1.0.2-0.20170402124221-0bf5dcad4ada
|
2025-01-28 19:31:31 +00:00
|
|
|
github.com/mattn/go-isatty v0.0.19
|
2021-03-30 17:09:04 +00:00
|
|
|
github.com/mileusna/useragent v0.0.0-20190129205925-3e331f0949a5
|
2021-07-09 15:35:58 +00:00
|
|
|
github.com/opentracing/opentracing-go v1.2.0
|
2020-02-26 22:27:56 +00:00
|
|
|
github.com/peterh/liner v1.0.1-0.20180619022028-8c1271fcf47f
|
2020-07-06 21:34:55 +00:00
|
|
|
github.com/pkg/errors v0.9.1
|
2023-02-27 22:16:49 +00:00
|
|
|
github.com/prometheus/client_golang v1.11.1
|
2021-03-30 17:09:04 +00:00
|
|
|
github.com/prometheus/client_model v0.2.0
|
2023-02-27 22:16:49 +00:00
|
|
|
github.com/prometheus/common v0.26.0
|
2020-07-08 14:12:52 +00:00
|
|
|
github.com/prometheus/prometheus v0.0.0-20200609090129-a6600f564e3c
|
2020-02-26 22:27:56 +00:00
|
|
|
github.com/retailnext/hllpp v1.0.1-0.20180308014038-101a6d2f8b52
|
|
|
|
github.com/spf13/cast v1.3.0
|
2021-03-30 15:18:18 +00:00
|
|
|
github.com/spf13/cobra v0.0.3
|
2025-01-28 19:31:31 +00:00
|
|
|
github.com/stretchr/testify v1.8.4
|
2020-07-06 21:34:55 +00:00
|
|
|
github.com/tinylib/msgp v1.1.0
|
2021-07-09 15:35:58 +00:00
|
|
|
github.com/uber/jaeger-client-go v2.28.0+incompatible
|
2020-02-26 22:27:56 +00:00
|
|
|
github.com/xlab/treeprint v0.0.0-20180616005107-d6fb6747feb6
|
2022-03-15 14:49:43 +00:00
|
|
|
go.uber.org/multierr v1.6.0
|
|
|
|
go.uber.org/zap v1.16.0
|
2024-04-19 17:13:08 +00:00
|
|
|
golang.org/x/crypto v0.21.0
|
2024-01-04 17:59:28 +00:00
|
|
|
golang.org/x/exp v0.0.0-20231214170342-aacd6d4b4611
|
|
|
|
golang.org/x/sync v0.5.0
|
2024-04-19 17:13:08 +00:00
|
|
|
golang.org/x/sys v0.18.0
|
|
|
|
golang.org/x/term v0.18.0
|
2024-01-04 17:59:28 +00:00
|
|
|
golang.org/x/text v0.14.0
|
2021-07-09 15:35:58 +00:00
|
|
|
golang.org/x/time v0.0.0-20210220033141-f8bda1e9f3ba
|
2024-01-04 17:59:28 +00:00
|
|
|
golang.org/x/tools v0.16.0
|
2025-01-28 19:31:31 +00:00
|
|
|
google.golang.org/grpc v1.58.3
|
2024-03-26 13:07:28 +00:00
|
|
|
google.golang.org/protobuf v1.33.0
|
2020-02-26 22:27:56 +00:00
|
|
|
)
|
2021-11-24 17:47:26 +00:00
|
|
|
|
|
|
|
require (
|
2025-01-28 19:31:31 +00:00
|
|
|
cloud.google.com/go v0.110.8 // indirect
|
|
|
|
cloud.google.com/go/bigquery v1.55.0 // indirect
|
2021-11-25 13:13:46 +00:00
|
|
|
cloud.google.com/go/bigtable v1.10.1 // indirect
|
2025-01-28 19:31:31 +00:00
|
|
|
cloud.google.com/go/compute v1.23.0 // indirect
|
2024-01-19 22:40:48 +00:00
|
|
|
cloud.google.com/go/compute/metadata v0.2.3 // indirect
|
2025-01-28 19:31:31 +00:00
|
|
|
cloud.google.com/go/iam v1.1.2 // indirect
|
|
|
|
cloud.google.com/go/longrunning v0.5.1 // indirect
|
|
|
|
github.com/99designs/go-keychain v0.0.0-20191008050251-8e49817e8af4 // indirect
|
|
|
|
github.com/99designs/keyring v1.2.2 // indirect
|
|
|
|
github.com/Azure/azure-sdk-for-go/sdk/azcore v1.4.0 // indirect
|
|
|
|
github.com/Azure/azure-sdk-for-go/sdk/internal v1.1.2 // indirect
|
|
|
|
github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v1.0.0 // indirect
|
2021-11-24 17:47:26 +00:00
|
|
|
github.com/Azure/go-autorest v14.2.0+incompatible // indirect
|
|
|
|
github.com/Azure/go-autorest/autorest v0.11.9 // indirect
|
2022-03-15 14:49:43 +00:00
|
|
|
github.com/Azure/go-autorest/autorest/adal v0.9.13 // indirect
|
2021-11-24 17:47:26 +00:00
|
|
|
github.com/Azure/go-autorest/autorest/azure/auth v0.5.3 // indirect
|
|
|
|
github.com/Azure/go-autorest/autorest/azure/cli v0.4.2 // indirect
|
|
|
|
github.com/Azure/go-autorest/autorest/date v0.3.0 // indirect
|
2022-03-15 14:49:43 +00:00
|
|
|
github.com/Azure/go-autorest/logger v0.2.1 // indirect
|
2021-11-24 17:47:26 +00:00
|
|
|
github.com/Azure/go-autorest/tracing v0.6.0 // indirect
|
|
|
|
github.com/DATA-DOG/go-sqlmock v1.4.1 // indirect
|
2025-01-28 19:31:31 +00:00
|
|
|
github.com/JohnCGriffin/overflow v0.0.0-20211019200055-46fa312c352c // indirect
|
2021-11-24 17:47:26 +00:00
|
|
|
github.com/Masterminds/semver v1.4.2 // indirect
|
|
|
|
github.com/Masterminds/sprig v2.16.0+incompatible // indirect
|
|
|
|
github.com/SAP/go-hdb v0.14.1 // indirect
|
|
|
|
github.com/andreyvit/diff v0.0.0-20170406064948-c7f18ee00883 // indirect
|
2025-01-28 19:31:31 +00:00
|
|
|
github.com/andybalholm/brotli v1.0.5 // indirect
|
2021-11-24 17:47:26 +00:00
|
|
|
github.com/aokoli/goutils v1.0.1 // indirect
|
2025-01-28 19:31:31 +00:00
|
|
|
github.com/apache/arrow/go/v12 v12.0.0 // indirect
|
|
|
|
github.com/apache/arrow/go/v15 v15.0.0 // indirect
|
2022-11-15 20:20:27 +00:00
|
|
|
github.com/apache/arrow/go/v7 v7.0.1 // indirect
|
2025-01-28 19:31:31 +00:00
|
|
|
github.com/apache/thrift v0.17.0 // indirect
|
2023-02-27 22:16:49 +00:00
|
|
|
github.com/aws/aws-sdk-go v1.34.0 // indirect
|
2025-01-28 19:31:31 +00:00
|
|
|
github.com/aws/aws-sdk-go-v2 v1.17.7 // indirect
|
|
|
|
github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.4.10 // indirect
|
|
|
|
github.com/aws/aws-sdk-go-v2/credentials v1.13.18 // indirect
|
|
|
|
github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.11.59 // indirect
|
|
|
|
github.com/aws/aws-sdk-go-v2/internal/configsources v1.1.31 // indirect
|
|
|
|
github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.4.25 // indirect
|
|
|
|
github.com/aws/aws-sdk-go-v2/internal/v4a v1.0.23 // indirect
|
|
|
|
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.9.11 // indirect
|
|
|
|
github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.1.26 // indirect
|
|
|
|
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.9.25 // indirect
|
|
|
|
github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.14.0 // indirect
|
|
|
|
github.com/aws/aws-sdk-go-v2/service/s3 v1.31.0 // indirect
|
|
|
|
github.com/aws/smithy-go v1.13.5 // indirect
|
2021-11-25 13:13:46 +00:00
|
|
|
github.com/benbjohnson/immutable v0.3.0 // indirect
|
2021-11-24 17:47:26 +00:00
|
|
|
github.com/beorn7/perks v1.0.1 // indirect
|
|
|
|
github.com/bonitoo-io/go-sql-bigquery v0.3.4-1.4.0 // indirect
|
2025-01-28 19:31:31 +00:00
|
|
|
github.com/danieljoos/wincred v1.1.2 // indirect
|
2021-11-24 17:47:26 +00:00
|
|
|
github.com/deepmap/oapi-codegen v1.6.0 // indirect
|
|
|
|
github.com/denisenkom/go-mssqldb v0.10.0 // indirect
|
|
|
|
github.com/dimchansky/utfbom v1.1.0 // indirect
|
2025-01-28 19:31:31 +00:00
|
|
|
github.com/dustin/go-humanize v1.0.1 // indirect
|
|
|
|
github.com/dvsekhvalnov/jose2go v1.6.0 // indirect
|
2021-11-24 17:47:26 +00:00
|
|
|
github.com/eclipse/paho.mqtt.golang v1.2.0 // indirect
|
2025-01-28 19:31:31 +00:00
|
|
|
github.com/fatih/color v1.15.0 // indirect
|
2022-03-15 14:49:43 +00:00
|
|
|
github.com/form3tech-oss/jwt-go v3.2.5+incompatible // indirect
|
2025-01-28 19:31:31 +00:00
|
|
|
github.com/gabriel-vasile/mimetype v1.4.2 // indirect
|
2021-11-24 17:47:26 +00:00
|
|
|
github.com/glycerine/go-unsnap-stream v0.0.0-20180323001048-9f0cb55181dd // indirect
|
|
|
|
github.com/go-sql-driver/mysql v1.5.0 // indirect
|
2025-01-28 19:31:31 +00:00
|
|
|
github.com/goccy/go-json v0.10.2 // indirect
|
|
|
|
github.com/godbus/dbus v0.0.0-20190726142602-4481cbc300e2 // indirect
|
2021-11-24 17:47:26 +00:00
|
|
|
github.com/gofrs/uuid v3.3.0+incompatible // indirect
|
2022-03-31 21:17:57 +00:00
|
|
|
github.com/gogo/protobuf v1.3.2 // indirect
|
2021-11-24 17:47:26 +00:00
|
|
|
github.com/golang-sql/civil v0.0.0-20190719163853-cb61b32ac6fe // indirect
|
|
|
|
github.com/golang/geo v0.0.0-20190916061304-5b978397cfec // indirect
|
2025-01-28 19:31:31 +00:00
|
|
|
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
|
2024-03-26 13:07:28 +00:00
|
|
|
github.com/golang/protobuf v1.5.4 // indirect
|
2025-01-28 19:31:31 +00:00
|
|
|
github.com/google/flatbuffers v23.5.26+incompatible // indirect
|
|
|
|
github.com/google/s2a-go v0.1.4 // indirect
|
|
|
|
github.com/google/uuid v1.3.1 // indirect
|
|
|
|
github.com/googleapis/enterprise-certificate-proxy v0.2.4 // indirect
|
|
|
|
github.com/googleapis/gax-go/v2 v2.12.0 // indirect
|
2021-11-25 13:13:46 +00:00
|
|
|
github.com/grpc-ecosystem/grpc-gateway v1.16.0 // indirect
|
2025-01-28 19:31:31 +00:00
|
|
|
github.com/gsterjov/go-libsecret v0.0.0-20161001094733-a6f4afe4910c // indirect
|
2021-11-24 17:47:26 +00:00
|
|
|
github.com/huandu/xstrings v1.0.0 // indirect
|
|
|
|
github.com/imdario/mergo v0.3.5 // indirect
|
|
|
|
github.com/inconshreveable/mousetrap v1.0.0 // indirect
|
2025-01-28 19:31:31 +00:00
|
|
|
github.com/influxdata/gosnowflake v1.9.0 // indirect
|
2021-11-24 17:47:26 +00:00
|
|
|
github.com/influxdata/influxdb-client-go/v2 v2.3.1-0.20210518120617-5d1fff431040 // indirect
|
2022-11-15 20:20:27 +00:00
|
|
|
github.com/influxdata/influxdb-iox-client-go v1.0.0-beta.1 // indirect
|
2021-11-24 17:47:26 +00:00
|
|
|
github.com/influxdata/line-protocol v0.0.0-20200327222509-2487e7298839 // indirect
|
2022-11-15 20:20:27 +00:00
|
|
|
github.com/influxdata/line-protocol/v2 v2.2.1 // indirect
|
2021-11-24 17:47:26 +00:00
|
|
|
github.com/influxdata/tdigest v0.0.2-0.20210216194612-fc98d27c9e8b // indirect
|
|
|
|
github.com/jmespath/go-jmespath v0.4.0 // indirect
|
2024-01-19 22:40:48 +00:00
|
|
|
github.com/klauspost/asmfmt v1.3.2 // indirect
|
2025-01-28 19:31:31 +00:00
|
|
|
github.com/klauspost/compress v1.16.7 // indirect
|
|
|
|
github.com/klauspost/cpuid/v2 v2.2.5 // indirect
|
2021-11-24 17:47:26 +00:00
|
|
|
github.com/klauspost/crc32 v0.0.0-20161016154125-cb6bfca970f6 // indirect
|
|
|
|
github.com/lib/pq v1.0.0 // indirect
|
2025-01-28 19:31:31 +00:00
|
|
|
github.com/mattn/go-colorable v0.1.13 // indirect
|
2021-11-24 17:47:26 +00:00
|
|
|
github.com/mattn/go-runewidth v0.0.3 // indirect
|
|
|
|
github.com/matttproud/golang_protobuf_extensions v1.0.1 // indirect
|
2024-01-19 22:40:48 +00:00
|
|
|
github.com/minio/asm2plan9s v0.0.0-20200509001527-cdd76441f9d8 // indirect
|
|
|
|
github.com/minio/c2goasm v0.0.0-20190812172519-36a3d3bbc4f3 // indirect
|
2021-11-24 17:47:26 +00:00
|
|
|
github.com/mitchellh/go-homedir v1.1.0 // indirect
|
|
|
|
github.com/mschoch/smat v0.0.0-20160514031455-90eadee771ae // indirect
|
2025-01-28 19:31:31 +00:00
|
|
|
github.com/mtibben/percent v0.2.1 // indirect
|
2021-11-24 17:47:26 +00:00
|
|
|
github.com/philhofer/fwd v1.0.0 // indirect
|
2025-01-28 19:31:31 +00:00
|
|
|
github.com/pierrec/lz4/v4 v4.1.18 // indirect
|
2022-03-15 14:49:43 +00:00
|
|
|
github.com/pkg/browser v0.0.0-20210911075715-681adbf594b8 // indirect
|
2021-11-24 17:47:26 +00:00
|
|
|
github.com/pmezard/go-difflib v1.0.0 // indirect
|
2023-02-27 22:16:49 +00:00
|
|
|
github.com/prometheus/procfs v0.6.0 // indirect
|
2021-11-24 17:47:26 +00:00
|
|
|
github.com/segmentio/kafka-go v0.2.0 // indirect
|
2022-11-15 20:20:27 +00:00
|
|
|
github.com/sergi/go-diff v1.1.0 // indirect
|
2025-01-28 19:31:31 +00:00
|
|
|
github.com/sirupsen/logrus v1.9.0 // indirect
|
2021-11-24 17:47:26 +00:00
|
|
|
github.com/spf13/pflag v1.0.5 // indirect
|
|
|
|
github.com/uber-go/tally v3.3.15+incompatible // indirect
|
|
|
|
github.com/uber/athenadriver v1.1.4 // indirect
|
|
|
|
github.com/uber/jaeger-lib v2.4.1+incompatible // indirect
|
2021-11-25 13:13:46 +00:00
|
|
|
github.com/vertica/vertica-sql-go v1.1.1 // indirect
|
2022-03-31 21:17:57 +00:00
|
|
|
github.com/willf/bitset v1.1.9 // indirect
|
2024-01-19 22:40:48 +00:00
|
|
|
github.com/zeebo/xxh3 v1.0.2 // indirect
|
|
|
|
go.opencensus.io v0.24.0 // indirect
|
2022-03-15 14:49:43 +00:00
|
|
|
go.uber.org/atomic v1.7.0 // indirect
|
2024-01-04 17:59:28 +00:00
|
|
|
golang.org/x/mod v0.14.0 // indirect
|
2024-04-19 17:13:08 +00:00
|
|
|
golang.org/x/net v0.23.0 // indirect
|
2025-01-28 19:31:31 +00:00
|
|
|
golang.org/x/oauth2 v0.10.0 // indirect
|
2024-01-19 22:40:48 +00:00
|
|
|
golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect
|
2025-01-28 19:31:31 +00:00
|
|
|
gonum.org/v1/gonum v0.12.0 // indirect
|
|
|
|
google.golang.org/api v0.128.0 // indirect
|
2021-11-25 13:13:46 +00:00
|
|
|
google.golang.org/appengine v1.6.7 // indirect
|
2025-01-28 19:31:31 +00:00
|
|
|
google.golang.org/genproto v0.0.0-20230920204549-e6e6cdab5c13 // indirect
|
|
|
|
google.golang.org/genproto/googleapis/api v0.0.0-20230913181813-007df8e322eb // indirect
|
|
|
|
google.golang.org/genproto/googleapis/rpc v0.0.0-20231002182017-d307bd883b97 // indirect
|
|
|
|
gopkg.in/yaml.v2 v2.4.0 // indirect
|
2022-06-01 17:33:46 +00:00
|
|
|
gopkg.in/yaml.v3 v3.0.1 // indirect
|
2021-11-24 17:47:26 +00:00
|
|
|
)
|