influxdb/pkg
Jeffrey Smith II fce0d1c863
chore: update to go 1.19 (#24119)
* chore: update to go 1.19.6

* chore: gofmt

* test: fix tests for sort order change

* chore: generate pb

* feat: upgrade flux to v0.188.0 (#23911)

* feat: upgrade flux to 0.171.0

Tests failing, safety commit

First step in https://github.com/influxdata/influxdb/issues/23815

* fix: remove "org" parameter" from writeOptSource

I attempted to implement the "orgOpt" argument in a similar fashion
to f6669f7512. However, it looks like Flux doesn't accept "org" as
a parameter to "load". It responds with:

Error calling function \"load\" @113:16-113:30: error calling function \"to\" @6:19-6:47: unused arguments [org]

This brings us from 194 passing to 570 passing.

* fix: temporarily disable broken flux tests

These tests expect rows to be stored in a certain order. However,
nothing is specifying the sort order. This has been fixed in a
later update to flux: (see 3d6f47ded).

Temporarily disable these tests until we include a fixed
version of the flux tests.

* chore: add tests from a492993012

This fixes "test-flux.sh" so it runs tests within the "flux/"
directory. This uncovered some other issues with the tests
located within "flux/". These also needed to be updated
to match the newer flux API.

* feat: upgrade flux to 0.172.0

This includes changes made in "cbbf4b27da". Since "test.go" in 2.x
diverged from 1.x, some modifications were required to make this
compatible.

* feat: upgrade flux to 0.173.0

* feat: upgrade flux to v0.174.0

* fix: Update the condition when reseting cursor (#23522)

Filters that contain `or` may change between cursor resets so we must remember to update the condition in the read cursor.

```flux
|> filter(fn: (r) => ((r["_field"] == "field1" and r["_value"]==true) or (r["_field"] == "field2" and r["_value"] == false)))
```

Closes https://github.com/influxdata/flux/issues/4804

* feat: upgrade flux to 0.174.1

* feat: upgrade flux to 0.175.0

* chore: remove end-to-end tests

These were removed in a492993 for 2.x. These tests prevent "go test ./..."
from completing. As stated in the original commit, these tests should now be
handled by the "fluxtest" harness.

* feat: upgrade flux to 0.176.0

Some tests needed to be disabled within the flux harness. This is a
result of enabling "Optimize Aggregate Window" in flux@05a1065f.
These tests are not present in 2.x. Therefore, I am unsure if
the breakage is resolved in a later commit.

* feat: upgrade flux to 0.177.0

* feat: upgrade flux to 0.178.0

* feat: upgrade flux to v0.179.0

This removes all invocations of "flux.RegisterOpSpec". According
to flux@e39096d5, "flux.RegisterOpSpec" does nothing in the
current version of flux and was removed.

* chore: update fluxtest skip list (#23633)

* chore: manually backport 785a465e9a

This removes the reference to "flux.Spec".

* build(flux): update flux to v0.181.0 (#23682)

* build(flux): update flux to v0.184.2

* chore: skip more Flux acceptance tests

There are issues for each skip detailed in test-flux.sh.

* feat: upgrade flux to v0.185.0

This adds "FluxTesting" to the "HTTPD" configuration. This option is
hidden and disabled by default. When "FluxTesting" is set, it
enables the default testing flags for "Flux".

These flags allow the "vectorized float tests" and tests requiring
the "removeRedundantSortNodes" and "labelPolymorphism" flag
enabled to work. These changes are based off of d8553c002e.

flux@3d6f47ded is included within this version of Flux. Therefore
we can now include the "group_*" tests.

* feat: upgrade flux to 0.186.0

* feat: upgrade flux to 0.187.0

* feat: upgrade flux to 0.188.0

* fix: re-run ./generate.sh with updated protoc

* fix: restrict cores to match CircleCI documentation

Co-authored-by: davidby-influx <dbyrne@influxdata.com>
Co-authored-by: Markus Westerlind <marwes91@gmail.com>
Co-authored-by: Sean Brickley <sean@wabr.io>
Co-authored-by: Jonathan A. Sternberg <jonathan@influxdata.com>
Co-authored-by: Christopher M. Wolff <chris.wolff@influxdata.com>

---------

Co-authored-by: Brandon Pfeifer <bpfeifer@influxdata.com>
Co-authored-by: davidby-influx <dbyrne@influxdata.com>
Co-authored-by: Markus Westerlind <marwes91@gmail.com>
Co-authored-by: Sean Brickley <sean@wabr.io>
Co-authored-by: Jonathan A. Sternberg <jonathan@influxdata.com>
Co-authored-by: Christopher M. Wolff <chris.wolff@influxdata.com>
2023-03-03 10:05:05 -05:00
..
binaryutil Partition series file. 2018-01-10 08:33:25 -07:00
bloom Cleanup pkg package 2018-01-21 12:08:25 -08:00
bytesutil Cleanup pkg package 2018-01-21 12:08:25 -08:00
data/gen chore: update protobuf library versions and remove influx_tsm (#21882) 2021-07-20 09:42:52 -04:00
deep build: upgrade to go1.18 (#23250) 2022-03-31 16:17:57 -05:00
encoding/simple8b chore: update to go 1.19 (#24119) 2023-03-03 10:05:05 -05:00
errors chore: update to go 1.19 (#24119) 2023-03-03 10:05:05 -05:00
escape pkg/escape: Add benchmarks for all bytes escape/unescape funcs 2018-01-16 11:12:47 +13:00
estimator chore: update to go 1.19 (#24119) 2023-03-03 10:05:05 -05:00
file fix: use copy when a rename spans volumes (#23785) (#23792) 2022-10-13 11:56:35 -07:00
limiter build: upgrade to go1.18 (#23250) 2022-03-31 16:17:57 -05:00
metrics fix: address static check warning s1039 (#18135) 2020-05-18 13:55:05 -04:00
mmap fix: fully clean up partially opened TSI (#23430) (#23446) 2022-06-13 12:51:34 -07:00
pool Cleanup pkg package 2018-01-21 12:08:25 -08:00
pprofutil Fix retain/release hang issues. 2017-12-06 09:09:41 -07:00
radix inmem: use radix sort for series ids 2018-07-17 12:31:12 -06:00
reporthelper chore: run goimports -w ./ 2021-01-29 11:40:02 -05:00
rhh Reduce allocations when inserting into RHH 2018-01-31 12:38:11 -07:00
slices refactor: Change ToLower comparisons to EqualFold (#18147) 2020-05-18 19:46:59 -04:00
snowflake pkg/snowflake: be more robust against sequence rollover 2018-08-16 11:18:06 -06:00
tar chore: update to go 1.19 (#24119) 2023-03-03 10:05:05 -05:00
testing/assert storage service 2017-10-25 13:38:07 -07:00
testttp chore: Add kit (#21086) 2021-03-30 13:09:04 -04:00
tlsconfig fix(tls): Enable configuration of TLS 1.3 (#20939) 2021-03-12 16:35:28 -05:00
tracing chore: update to go 1.19 (#24119) 2023-03-03 10:05:05 -05:00
README.md Correctly name pkg README 2015-12-17 11:24:58 -08:00

README.md

pkg/ is a collection of utility packages used by the InfluxDB project without being specific to its internals.

Utility packages are kept separate from the InfluxDB core codebase to keep it as small and concise as possible. If some utilities grow larger and their APIs stabilize, they may be moved to their own repository under the InfluxDB organization, to facilitate re-use by other projects. However that is not the priority.

Because utility packages are small and neatly separated from the rest of the codebase, they are a good place to start for aspiring maintainers and contributors. Get in touch if you want to help maintain them!