Commit Graph

298 Commits (d7416da962383c94f196a9c0e633a5fe20e99e69)

Author SHA1 Message Date
Jake Goulding d7416da962 fix: Do not allow a raw newline in the middle of measurement / tag_set / field_key 2020-04-13 09:41:05 -04:00
Jake Goulding 261528aeab test: Ensure that we allow newline literals as unknown escapes 2020-04-13 09:41:05 -04:00
Jake Goulding aff4906a72 fix: Allow multiple whitespace characters between line protocol elements 2020-04-13 09:41:05 -04:00
Jake Goulding 9b9ddc8508 test: ensure that blank and commented lines are ignored 2020-04-13 09:41:04 -04:00
Jake Goulding 91bbfe454e fix: Remove usage of str::lines as input can contain escaped newlines 2020-04-13 09:41:04 -04:00
Jake Goulding 20badac237
Merge pull request #70 from influxdata/minor-clippy
style: Use Vec::new in closures instead of vec!
2020-04-10 16:37:58 -04:00
Jake Goulding 5900111b01 style: Use Vec::new in closures instead of vec! 2020-04-10 15:01:05 -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) 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
Carol (Nichols || Goulding) 7bdea751d2 test: Explicitly create the bucket in the end-to-end test 2020-04-03 09:18:15 -04:00
Carol (Nichols || Goulding) 52b2137ab0 fix: Don't create a bucket+org on write 2020-04-03 09:11:31 -04:00
Carol (Nichols || Goulding) db0942c861 feature: Implement the create bucket gRPC request 2020-04-03 09:11:08 -04:00
Carol (Nichols || Goulding) db950b4aee fix: Return None instead of Err if org doesn't exist on bucket lookup 2020-04-02 16:45:21 -04:00
Carol (Nichols || Goulding) 38e660818e style: Cargo fmt 2020-04-02 16:39:57 -04:00
Carol (Nichols || Goulding) 1334dafc0a Revert "fix: Create org if it doesn't exist"
This reverts commit a7d33b803c.
2020-04-02 16:03:05 -04:00
Carol (Nichols || Goulding) 43a2af9a60 Revert "fix: Insert org if it's not found"
This reverts commit cd470908d7.
2020-04-02 16:01:58 -04:00
Paul Dix c83805854d Fix end-to-end test for new rpc.rs behavior 2020-04-02 15:47:43 -04:00
Carol (Nichols || Goulding) cd470908d7 fix: Insert org if it's not found 2020-04-02 11:53:53 -04:00
Carol (Nichols || Goulding) 32ed04c753 style: Cargo fmt 2020-04-02 11:53:07 -04:00
Carol (Nichols || Goulding) d097af781d feature: Implement the get_buckets rpc to get bucket ids in the test 2020-04-02 11:52:39 -04:00
Carol (Nichols || Goulding) ee0afb5e02 fix: Rename field to not start with an underscore 2020-04-02 11:40:45 -04:00
Carol (Nichols || Goulding) a810113364 fix: Return ReadPoint.value instead of time twice 2020-04-02 11:18:46 -04:00