Commit Graph

129 Commits (5a9a28151be12d2650c00c6ce881ca215de2e176)

Author SHA1 Message Date
Daniel Moran f6b073348b
build: delete vendored copy of gogo protos (#21098) 2021-03-30 14:26:05 -04:00
Daniel Moran 00afd95cb7
refactor: automated move of errors and id from root to kit (#21101)
Co-authored-by: Sam Arnold <sarnold@influxdata.com>
2021-03-30 14:10:02 -04:00
Daniel Moran b1283bc998
build: fix 'go generate' and regenerate the universe (#21089) 2021-03-30 10:32:14 -04:00
Daniel Moran 6515a79413
fix: update doc links to point at new site (#20754) 2021-02-16 12:37:56 -05:00
Sam Arnold 781fa0e846 chore: add goimports 2021-01-29 14:06:52 -05:00
Daniel Moran 15b9531273
fix: correct various typos (#19987)
Co-authored-by: kumakichi <xyesan@gmail.com>
2020-11-11 13:54:21 -05:00
Mark Rushakoff 4c5aea8103 chore: remove unreferenced pkg/hll package 2020-10-28 12:38:01 -04:00
Mark Rushakoff c11ce82d2f chore: remove unreferenced pkg/bufio package 2020-10-28 12:38:01 -04:00
Ayan George bd47d8efe1
fix: Type-convert fs.Bavail for portability (#19816)
Prior to this patch, DiskUsage() would calculate bytes available
by multiplying blocks available by block size in bytes:

  disk.Avail = fs.Bavail * uint64(fs.Bsize)

Under some versions of Unix, fs.Bavail is of type uint64 and on
others (like FreeBSD) it is of type int64.

This causes a compile time error:

  $ go build
  # github.com/influxdata/influxdb/v2/pkg/fs
  ./fs_unix.go:81:25: invalid operation: fs.Bavail * uint64(fs.Bsize) (mismatched types int64 and uint64)

This patch type-converts fs.Bavail to unit64 to ensure that all
types in the expression align.

This prevents compile time errors under FreeBSD and other platforms
where fs.Bavail isn't uint64.
2020-10-26 05:32:04 -04:00
sans 7dcaf5c639
fix: typos (#19734) 2020-10-13 09:50:32 -07:00
vlastahajek 8763bb1af9 feat(upgrade): upgrade databases 2020-10-08 09:39:30 -07:00
Stuart Carnie abdfdf07c1 fix: Panic when p is < what was read from rd 2020-09-29 13:44:18 -07:00
Pavel Závora 58b37582bc
Merge pull request #19595 from influxdata/19588/linenumber
fix(pkg/csv2lp): report actual line numbers
2020-09-26 09:33:41 +02:00
pierwill feacde0dca
docs: Edit csv2lp README
s/prepend/append in `:strict`
2020-09-23 10:25:32 -07:00
Pavel Zavora e1591077cd feat(pkg/csv2lp): use LineReader to report actual line numbers that go's csv.Reader cannot 2020-09-21 07:54:17 +02:00
Pavel Zavora 94d2cb3518 feat(pkg/csv2lp): add LineReader to report correct line numbers 2020-09-20 12:59:27 +02:00
Pavel Zavora 8e2d2ce77b chore(pkg/csv2lp): test csv2lp.CsvToLineProtocol.Comma 2020-09-20 11:24:56 +02:00
Christopher M. Wolff e7cbbaa722
feat: upgrade Flux to v0.83.2 (#19569) 2020-09-16 17:59:15 -07:00
Pavel Závora 2c32938a78
Merge pull request #19466 from influxdata/19452/csv2lp
fix(pkg/csv2lp): do not override existing line part in group annotation
2020-09-12 12:10:14 +02:00
Pavel Zavora 13a801b830 fix(pkg/csv2lp): do not override existing line part in group annotation #19452 2020-09-12 11:40:54 +02:00
Pavel Zavora 2c25044a8c chore: apply review comments 2020-09-12 11:29:05 +02:00
Pavel Zavora 60c4984f51 chore: apply review comments 2020-09-12 11:13:27 +02:00
Pavel Zavora 7fc590fb6f chore: doc only 2020-09-12 11:13:27 +02:00
Pavel Zavora fe2c7dfae0 chore(pkg/csv2lp): improve Test_CsvToLineProtocol_RowSkipped 2020-09-12 11:13:27 +02:00
Pavel Zavora b21b4014e6 feat(pkg/csv2lp): document concat annotation 2020-09-12 11:13:27 +02:00
Pavel Zavora c5d841efdf feat(pkg/csv2lp): add concat annotation 2020-09-12 11:13:27 +02:00
Pavel Zavora 05c8a00b8d feat(pkg/csv2lp): add RowSkippedListener to inform about rejected records #18742 2020-09-12 11:13:27 +02:00
Pavel Zavora b51866e7be chore(pkg/csv2lp): improve doc 2020-09-12 11:13:27 +02:00
Pavel Zavora ff96ef04f9 feat(pkg/csv2lp): enhance documentation with strict parsing #18744 2020-09-12 11:13:27 +02:00
Pavel Zavora c2643243f3 feat(pkg/csv2lp): add possibility to parse long and unsignedLong values strictly #18744 2020-09-12 11:13:27 +02:00
Pavel Zavora 14718c9dfc feat(pkg/csv2lp): pass a line number to custom parsing fn #18744 2020-09-12 11:13:27 +02:00
Pavel Zavora 001343d958 feat(pkg/csv2lp): log a warning when loosing precision #18744 2020-09-12 11:13:27 +02:00
Pavel Zavora 238ba1990e fix(pkg/csv2lp): don't allow duplicate tags #19453 2020-09-12 10:34:01 +02:00
vlastahajek b5afed5201 fix(compile): Making influxd compilable on Windows 2020-09-07 15:10:49 +02:00
Stuart Carnie a24edb2b1c
chore: Skip tests on circleci
This is derived from 2fd8264 and 4f850b5, which skips tests on appveyor
2020-08-31 12:14:27 -07:00
Stuart Carnie dee8977d2c
chore: move v2/v1/tsdb → v2/tsdb 2020-08-26 10:46:47 -07:00
Stuart Carnie 7c972387e2
chore(task): Flux compatibility fixes
This commit temporarily pulls in code from the flux/ast/edit
package ensure builds continue. Once Flux is upgraded to the
latest, the pkg/flux package will be removed.
2020-08-20 11:25:51 -07:00
Stuart Carnie 3d913da53c
fix(pkger): Add temporary Flux helpers for pkger build 2020-08-11 10:36:13 -07:00
Stuart Carnie f86fcd24d5
fix(launcher): Fix unit tests after rebase 2020-08-03 09:20:51 -07:00
Stuart Carnie 89532f0c29
refactor: move v2/v1/models to v2/models 2020-08-03 09:20:51 -07:00
Stuart Carnie 26c18ac0a5
chore: Converging on 1.x tsdb 2020-08-03 09:20:48 -07:00
Edd Robinson 2b175291be
refactor: WIP removing tsbd 2020-08-03 09:18:34 -07:00
Stuart Carnie 92efddbfbe
chore(tsdb): Initial commit of tsdb package
* pulls in 1.x tsdb, compiles and passes test
2020-08-03 09:17:23 -07:00
George d1025b4962
feat(httpc): add error return argument to auth func (#19085) 2020-07-28 14:59:01 +01:00
Ben Johnson 3cc2638bbf feat(tsi1): Add optional mincore limiter to TSI 2020-07-22 10:17:42 -06:00
Ben Johnson c28eb70856 feat(mincore): Add page fault limiter
This commit adds `mincore.Limiter` which throttles page faults caused
by mmap() data. It works by periodically calling `mincore()` to determine
which pages are not resident in memory and using `rate.Limiter` to
throttle accessing using a token bucket algorithm.
2020-07-17 09:37:31 -06:00
Jonathan A. Sternberg 5aeca082c8
chore: update staticcheck and fix newly identified lint checks (#18737) 2020-06-26 18:54:09 -05:00
Stuart Carnie aea54d2ead
fix(http): Use shared http.Transport
This is following precedent established in `net/http`, by using a
shared `http.Transport`. This is necessary to ensure connections which
utilize HTTP keep-alive are reused, along with other benefits of
pooling.
2020-06-05 09:52:45 -07:00
Johnny Steenbergen dccae684fd chore(httpc): extend httpc reqs with tracing 2020-06-04 15:25:19 -07:00
Johnny Steenbergen e80f3068ce feat(httpc): extend request with Auth beahvior 2020-06-04 12:02:31 -07:00