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
Carol (Nichols || Goulding)
df67b9715a
Merge remote-tracking branch 'origin/master' into pd-partiton-store
2020-04-02 11:15:26 -04:00
Carol (Nichols || Goulding)
71756da2f4
Merge pull request #48 from influxdata/unique-test-dir
...
feat: Use a unique test directory for test runs
2020-04-02 11:13:07 -04:00
Jake Goulding
67e9fdf5e7
refactor: Accept a path for the RocksDB location
2020-04-02 11:06:38 -04:00
Jake Goulding
40e7a11303
feature: Use a unique directory per RocksDB test run
2020-04-02 11:06:38 -04:00
Jake Goulding
f77d28367d
feature: Respect TEST_DELOREAN_DB_DIR in the end-to-end test
2020-04-02 11:06:38 -04:00
Jake Goulding
97d11633b8
feature: Use a unique directory per end-to-end test run
2020-04-02 11:06:36 -04:00
Jake Goulding
d66cc552a6
refactor: Use an Error/Result type alias
2020-04-02 11:04:20 -04:00
Carol (Nichols || Goulding)
a7d33b803c
fix: Create org if it doesn't exist
2020-04-02 11:01:54 -04:00
Paul Dix
8ac21314d6
Merge pull request #55 from influxdata/duplicate-tags
...
feat: Error when parsing lines with duplicate tags
2020-04-02 10:28:22 -04:00
Paul Dix
6e949433ac
Merge pull request #54 from influxdata/sorted-tags
...
feat: Ensure tags are sorted in the line parser
2020-04-02 10:26:50 -04:00
Carol (Nichols || Goulding)
6549bebf2c
refactor: Make MemDB::new more idiomatic
2020-04-02 10:05:37 -04:00
Carol (Nichols || Goulding)
d9cf5c952a
fix: Remove RocksDB code
2020-04-02 09:41:30 -04:00
Carol (Nichols || Goulding)
38b39eb095
fix: Keep ParseError's description private; use Display instead
...
This gives us more flexibility to refactor ParseError in the future.
2020-04-02 09:41:30 -04:00
Carol (Nichols || Goulding)
ac5ecb01dc
fix: Add some more logging for internal server errors
2020-04-02 09:02:52 -04:00
Paul Dix
38ec343b33
Refactor partition_store, database, main, and rpc
...
Refactored Partition to be a concrete type enum with three different types of partitions: memory, s3, or remote server. Had to move to this rather than a trait because the methods on partition are async.
Refactored database to use the new partition structure and for now only use a memory based database. Persistence will be reintroduced later with the S3 partition implementation.
Refactored main and rpc to use the new database.
2020-04-01 16:46:07 -04:00
Paul Dix
834d5b84a6
Update memdb and partitioned_store
...
Fix bug in memdb with pulling out a range of data.
Simplify code in partition store to address PR feedback.
2020-03-27 16:24:02 -04:00
Carol (Nichols || Goulding)
fa88416dff
style: Cargo fmt
2020-03-27 15:53:37 -04:00