Jake Goulding
3fc9c0047d
fix: use stack-allocated array instead of a Vec
2020-04-10 10:16:29 -04:00
Jake Goulding
16be0b1922
fix: Use std instead of core
2020-04-08 17:03:05 -04:00
Jake Goulding
27520b9951
doc: correct typo
2020-04-08 16:41:04 -04:00
Jake Goulding
56d4d7e301
doc: use initial indentation in code fences
2020-04-08 16:39:17 -04:00
Jake Goulding
8a9f768f71
fix: Remove unneeded match and include basic error information
2020-04-08 16:32:00 -04:00
Carol (Nichols || Goulding)
8c323b84be
Merge pull request #59 from influxdata/escaping
...
feat: Support escaping values in the line protocol parser
2020-04-08 14:46:38 -04:00
Jake Goulding
29279d393d
perf: Avoid string allocation when series is in the correct format
...
This increases the performance from 58.194 MiB/s to 126.68 MiB/s
2020-04-08 14:41:42 -04:00
Jake Goulding
93231c64e0
perf: Use a SmallVec for escaped strings and sets of tags and values
...
This increases the performance from 56.531 MiB/s to 58.194 MiB/s.
2020-04-08 14:41:42 -04:00
Jake Goulding
4aa3afb930
perf: Add a benchmark for the line parser
2020-04-08 14:41:17 -04:00
Jake Goulding
6fdd8b1935
refactor: Extract a method to generate the series base name
2020-04-08 14:41:17 -04:00
Jake Goulding
0c7a4a5f81
feat: Handle escaping in the tag key, tag value, and field key
2020-04-08 14:41:17 -04:00
Jake Goulding
8156e24255
feat: Handle escaping in the measurement name
2020-04-08 14:41:17 -04:00
Jake Goulding
1615aec46a
refactor: Use preceded combinator
2020-04-08 14:41:17 -04:00
Carol (Nichols || Goulding)
8635076471
fix: Use write_all to ensure entire buffer is processed
...
write doesn't guarantee the whole buffer gets written and returns the
number of bytes it was able to write; whereas what's desired is
everything gets written and the number of bytes is the total of what
we're asking to write.
2020-04-08 11:18:17 -04:00
Carol (Nichols || Goulding)
2879b6cad7
refactor: Remove some now-unneeded type annotations
2020-04-08 10:55:57 -04:00
Carol (Nichols || Goulding)
051836ee4d
fix: Remove vec allocation where an inline slice will do
2020-04-08 10:33:54 -04:00
Carol (Nichols || Goulding)
aa7ae9adaa
fix: Remove unnecessary casting
...
And replace necessary casting/asserts with conversions that panic if
they fail
2020-04-08 10:31:06 -04:00
Carol (Nichols || Goulding)
a143708321
refactor: Remove unneeded `let _ =`
2020-04-08 10:02:32 -04:00
Carol (Nichols || Goulding)
2a008dc6a7
refactor: Rewrite to not use unwrap
2020-04-08 09:48:38 -04:00
Carol (Nichols || Goulding)
1a6d5c2163
fix: Return a slice of timestamp and values; let caller clone if needed
2020-04-08 09:36:28 -04:00
Carol (Nichols || Goulding)
e4b6100f53
refactor: Use stdlib's `unzip`
2020-04-08 09:33:59 -04:00
Carol (Nichols || Goulding)
367f96981b
fix: Remove unneeded clone
2020-04-08 09:12:40 -04:00
Carol (Nichols || Goulding)
3d97829197
fix: Move dead code allow to be more specific
2020-04-08 09:07:15 -04:00
Carol (Nichols || Goulding)
85e558844c
fix: Only use lifetimes when the type is a reference
2020-04-08 09:07:15 -04:00
Carol (Nichols || Goulding)
47661f93f1
fix: Remove module declaration for module that no longer exists
2020-04-08 09:06:44 -04:00
Carol (Nichols || Goulding)
4ee29db95c
docs: Small grammar/style fixes in doc comments I noticed while reading through
2020-04-08 08:45:31 -04:00
Carol (Nichols || Goulding)
14369ae2ab
style: Wrap doc comments to 100 for ease of reading
2020-04-08 08:45:31 -04:00
Edd Robinson
9e20743b2c
feat: add Block Type
...
This commit adds a new Block type, which is used to keep track of values
associated with individual block, and then serialise them.
2020-04-08 13:37:48 +01:00
Carol (Nichols || Goulding)
e60ae51c91
Merge pull request #60 from influxdata/cn-remove-dead-code
...
refactor: Remove code that's now unused
2020-04-06 17:00:56 -04:00
Carol (Nichols || Goulding)
3ee7ba460d
Merge pull request #63 from influxdata/cn-read-group-take-3
...
feature: Implement ReadGroup gRPC
2020-04-06 17:00:33 -04:00
Jake Goulding
7d8435b17b
Merge pull request #61 from influxdata/unused-clone
...
fix: Remove unused clone
2020-04-06 15:17:05 -04:00
Carol (Nichols || Goulding)
56a2b323be
feature: Implement ReadGroup
2020-04-06 10:23:43 -04:00
Carol (Nichols || Goulding)
747585e0b5
test: Make more interesting test data
2020-04-06 09:08:34 -04:00
Jake Goulding
6a742c1d43
Merge pull request #62 from influxdata/dependencies
...
build: Upgrade dependencies
2020-04-06 06:15:02 -04:00
Jake Goulding
974a142cc8
build: update semver-compatible versions
2020-04-05 16:35:27 -04:00
Jake Goulding
8629072508
build: Upgrade tonic to 0.2
2020-04-05 16:35:00 -04:00
Jake Goulding
4a28abd4de
build: Upgrade assert_cmd to 1.0
...
This requires that we opt into the serde `derive` feature that is no
longer implicitly added from upstream.
2020-04-05 16:33:37 -04:00
Jake Goulding
48d5d16a1b
build: update semver-compatible dependency versions
2020-04-05 16:33:24 -04:00
Carol (Nichols || Goulding)
39dad5de31
fix: Always return long form of _f and _m from gRPC calls
2020-04-03 17:20:00 -04:00
Carol (Nichols || Goulding)
a801f19b70
refactor: Extract a method to get sorted tags from ReadBatches
2020-04-03 17:18:05 -04:00
Jake Goulding
04fde87987
fix: Remove unused clone
2020-04-03 16:49:47 -04:00
Carol (Nichols || Goulding)
79deaa3696
fix: index_pairs can't actually fail, so don't return Result
2020-04-03 16:06:39 -04:00
Carol (Nichols || Goulding)
d0e339e590
refactor: Remove allowing of dead code in MemDB because it's used now
2020-04-03 15:34:37 -04:00
Carol (Nichols || Goulding)
97843a5c90
refactor: Remove now unused SeriesStore
2020-04-03 15:30:52 -04:00
Carol (Nichols || Goulding)
c0102f349b
refactor: Move ReadPoint's definition to the storage module
2020-04-03 15:30:11 -04:00
Carol (Nichols || Goulding)
c163ee9134
refactor: Remove now unused ConfigStore
2020-04-03 15:22:55 -04:00
Carol (Nichols || Goulding)
404e3cf2e5
refactor: Remove now unused InvertedIndex
2020-04-03 15:21:58 -04:00
Carol (Nichols || Goulding)
9d1670b1bb
refactor: Extract a function for sending points
2020-04-03 15:15:37 -04:00
Carol (Nichols || Goulding)
7356bc33ed
refactor: Rearrange construction of data
...
This was a temporary way of writing it to figure out the types, but I
find it easier to see the hierarchy.
2020-04-03 14:38:23 -04:00
Paul Dix
779633fd77
Merge pull request #56 from influxdata/pd-partiton-store
...
feat: Add Partition Store
2020-04-03 13:27:17 -04:00