influxdb/storage
Stuart Carnie 3ca751cfd6
fix(reads): ResponseWriter truncates values for last series
The ResponseWriter would truncate the last series if the byte size of
the points frames exceeded the writeSize constant, causing a Flush to
occur and the cumulative ResponseWriter.sz to reset to zero. Because
ResponseWriter.sz was not incremented for each frame, it remained at
zero, which resulted in the final Flush short circuiting.

This commit implements the Size method for the cursors.Array types
to be used to estimate the size of frame. This is in place of calling
the Protocol Buffer `Size` function, which can be very expensive.
2019-08-16 10:36:40 -07:00
..
compat Storage engine now validates all tags are utf-8 2019-03-07 09:56:07 +00:00
reads fix(reads): ResponseWriter truncates values for last series 2019-08-16 10:36:40 -07:00
readservice feat(query): add storage request duration metric (#14534) 2019-08-02 08:53:14 -07:00
wal Gofmt verify-wal files 2019-06-27 16:28:28 -07:00
Makefile chore(Makefile): add target to check generated files are accurate 2018-12-18 12:54:17 -07:00
bucket_service.go remove org from bucket 2019-04-22 18:39:05 -04:00
bucket_service_test.go fix(kv): fix empty org name 2019-04-26 18:16:28 -04:00
config.go Improve bulk series file writes. 2019-04-05 14:38:58 -06:00
engine.go fix(storage): move retention snapshot out of per bucket calls (#14420) 2019-07-23 11:40:05 -07:00
engine_schema.go fix(storage): Ensure Tag(Keys|Values) APIs never return (nil, nil) 2019-05-02 09:45:38 -07:00
engine_test.go refactor(storage): remove commented code 2019-08-12 13:49:26 +01:00
metrics.go storage: add tests for retention metrics 2019-04-01 17:44:37 -06:00
opener.go feat(influxd): Tracing refactor (#12318) 2019-03-04 11:48:11 -08:00
points_writer.go respond to pr comments 2019-08-05 13:16:51 -05:00
points_writer_test.go respond to pr comments 2019-08-05 13:16:51 -05:00
retention.go fix(storage): move retention snapshot out of per bucket calls (#14420) 2019-07-23 11:40:05 -07:00
retention_test.go fix(storage): move retention snapshot out of per bucket calls (#14420) 2019-07-23 11:40:05 -07:00
series_cursor.go fix(storage): Store.Read behavior changed to return unsorted series keys 2019-04-26 10:38:59 -07:00
series_cursor_test.go feedback: Simplify reader; use constants from influxdb package 2019-02-21 11:18:08 -08:00