influxdb/pkg
davidby-influx 514f024b7d
fix: use copy when a rename spans volumes (#23785) (#23792)
When a file rename fails with EXDEV
(cross device or volume error), copy the
file and delete the original instead

Differs from master branch by overwriting
existing files instead of erring.

closes https://github.com/influxdata/influxdb/issues/22997

(cherry picked from commit 0913276ff0)

* fix: add tests for file rename across volumes (#23787)

Also move shared code from file_unix.go

(cherry picked from commit bc8d9ea9f3)

closes https://github.com/influxdata/influxdb/issues/23791
2022-10-13 11:56:35 -07: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 fix(storage): simple8b passes checkptr (#15512) 2019-11-22 07:39:44 -08:00
errors chore: fix deadlock in `influx_inspect dumptsi` (#22661) 2021-10-20 12:48:59 -05:00
escape pkg/escape: Add benchmarks for all bytes escape/unescape funcs 2018-01-16 11:12:47 +13:00
estimator fix: a few suddenly flaky tests involving randomness (#21818) 2021-07-09 12:17:23 -04: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: fix deadlock in `influx_inspect dumptsi` (#22661) 2021-10-20 12:48:59 -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 build: upgrade protobuf library (#22606) 2021-10-15 11:42:47 -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!