Commit Graph

6563 Commits (ce7005ec7567ecef17a711bfa55dbd1fdefba50b)

Author SHA1 Message Date
Carol (Nichols || Goulding) c6dbba2e71 refactor: Use BTreeSet instead of BTreeMap<_, bool> 2020-05-01 14:49:07 -04:00
Jake Goulding a6682467a7 fix: Use approximate floating point comparisons for slices as well 2020-05-01 13:05:00 -04:00
Jake Goulding e369ada35a refactor: extract a crate with our custom assertions
There's probably an existing crate that we should use directly, but I
haven't found an exact match yet.
2020-05-01 13:04:24 -04:00
Carol (Nichols || Goulding) acb0c3f2d0
Merge pull request #76 from influxdata/cn-ci 2020-04-29 09:38:46 -04:00
Carol (Nichols || Goulding) 05c7d5949a test: CI commands need some more flags now that we're a workspace 2020-04-27 09:42:53 -04:00
Carol (Nichols || Goulding) 7f9eaf51d5
Merge pull request #74 from influxdata/cn-generate-points 2020-04-24 08:08:32 -04:00
Edd Robinson f1d5d50b92
Merge pull request #68 from influxdata/er-block-writer
feat: add Block Type
2020-04-23 22:48:38 +01:00
Carol (Nichols || Goulding) d476c233fe fix: Remove some unnecessary allocations when writing separated strings 2020-04-23 11:39:22 -04:00
Carol (Nichols || Goulding) db23571044 refactor: Allow more flexibility in random number generator used 2020-04-23 11:30:39 -04:00
Carol (Nichols || Goulding) 0350dabd70 docs: Add a note about possibly taking a seed for future work 2020-04-23 11:29:19 -04:00
Carol (Nichols || Goulding) fa69101945 refactor: Move the point utilities into a workspace crate 2020-04-23 11:26:37 -04:00
Carol (Nichols || Goulding) 2ecb3b0525 feat: Add some debug logging when receiving a write request 2020-04-23 11:11:56 -04:00
Carol (Nichols || Goulding) 6791b9598c feat: Utility to take line protocol and make write requests 2020-04-23 11:11:51 -04:00
Carol (Nichols || Goulding) 0956b665d8 feat: Add a utility to generate points in line protocol to stdout 2020-04-23 11:11:46 -04:00
Edd Robinson 4ee8c1ac46 docs: clarify checksum usage 2020-04-23 10:39:17 +01:00
Edd Robinson e5e3903771 fix: seek back to last offset 2020-04-23 10:39:17 +01:00
Edd Robinson 7d625648c9 refactor: remove redundant block members 2020-04-23 10:25:00 +01:00
Edd Robinson 8dc258b153 refactor: improve push 2020-04-22 13:45:41 +01:00
Edd Robinson 138c54b1a9 refactor: return option to reference 2020-04-22 12:18:51 +01:00
Edd Robinson 3a9f8aeeb8 docs: specify endianness 2020-04-21 17:31:59 +01:00
Edd Robinson 79506f3d3b refactor: use u16 for summary counts 2020-04-21 17:25:07 +01:00
Jake Goulding 9960dc33a5
Merge pull request #73 from influxdata/cn-negative-numbers
fix: Support negative values in the line protocol parser
2020-04-17 14:25:37 -04:00
Jake Goulding d31bcd2c0e fix: Support negative timestamp values
Also add proper errors for out-of-range values.
2020-04-17 10:32:58 -04:00
Carol (Nichols || Goulding) 4aae16066b fix: Support negative integer and floating-point field values
Also add proper errors for out-of-range values.
2020-04-17 10:32:55 -04:00
Carol (Nichols || Goulding) fbba16ab5b
Merge pull request #69 from influxdata/cn-storectl-bench-take-2
feature: Set up a benchmarking script that uses inch and storectl query
2020-04-13 16:45:26 -04:00
Carol (Nichols || Goulding) 40f8104e58 fix: Correct reference of RocksDB to MemDB; rest of comment still applies 2020-04-13 16:40:38 -04:00
Carol (Nichols || Goulding) fb8f736e54 refactor: Encode that Id cannot be 0 by using NonZeroU64 2020-04-13 16:40:38 -04:00
Carol (Nichols || Goulding) 6dd7c0a3e8 fix: Treat gRPC bucket_id as bucket name because MemDB assigns bucket ID 2020-04-13 16:40:38 -04:00
Carol (Nichols || Goulding) aecb390fcd feature: Add a create bucket HTTP api
For convenience when using cURL; easier to generate requests than using
gRPC.
2020-04-13 16:40:38 -04:00
Carol (Nichols || Goulding) d21ffaaf38 fix: Delorean needs some sort of query right now 2020-04-13 16:40:38 -04:00
Carol (Nichols || Goulding) 429d0e1851 fix: Change name of the proto package to match proto used by Go
So that `storectl query` requests will work with delorean
2020-04-13 16:40:38 -04:00
Carol (Nichols || Goulding) d9342026bc feature: Hook up benchmarking with storectl 2020-04-13 16:40:38 -04:00
Carol (Nichols || Goulding) a85f0edfc6 feature: Use the new ID type everywhere 2020-04-13 16:40:38 -04:00
Carol (Nichols || Goulding) 7be1d3437e feature: Add an ID type that matches the Go code
16 character hexadecimal strings to u64s. All zeroes are invalid.
2020-04-13 16:40:38 -04:00
Carol (Nichols || Goulding) 27bb803ad3 fix: Return HTTP No Content on successful write
The `inch` tool expects status code 204 instead of 200, so actually send
no content instead of empty JSON.
2020-04-13 16:40:38 -04:00
Carol (Nichols || Goulding) 4a0e2cddb9 test: Ensure the parser supports lines with a field but no time 2020-04-13 16:40:38 -04:00
Carol (Nichols || Goulding) 9296eb4802 feature: If a line has no time, use the current time 2020-04-13 16:40:38 -04:00
Carol (Nichols || Goulding) 0314bc6ba2 fix: Change the default gRPC port to match storectl
8082 appears to be the default here:
b304e751e1/cmd/storectl/query/query.go (L56)
2020-04-13 16:03:23 -04:00
Jake Goulding 3484a872eb
Merge pull request #71 from influxdata/compatibility
fix: Increase compatibility with the Go line protocol parser
2020-04-13 11:07:19 -04:00
Jake Goulding d28d7440de fix: Disallow elements that end with a backslash 2020-04-13 09:46:55 -04:00
Jake Goulding 8dfe58ca25 feat: Allow parsing line protocol without a provided timestamp 2020-04-13 09:46:02 -04:00
Jake Goulding c29a2b725a fix: Require at least one field in a field set 2020-04-13 09:41:05 -04:00
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
Jake Goulding 55ca9bc6b0 fix: DRY up repeated varint writing 2020-04-10 11:07:54 -04:00