Aliaksandr Valialkin
|
533bf76a12
|
lib/storage: correctly use maxBlockSize in various checks
Previously `maxBlockSize` has been multiplied by 8 in certain checks. This is unnecessary.
|
2020-09-24 18:13:15 +03:00 |
|
Aliaksandr Valialkin
|
d962568e93
|
all: use %w instead of %s for wrapping errors in fmt.Errorf
This will simplify examining the returned errors such as httpserver.ErrorWithStatusCode .
See https://blog.golang.org/go1.13-errors for details.
|
2020-06-30 23:33:46 +03:00 |
|
Aliaksandr Valialkin
|
7e831741f9
|
lib/{storage,mergeset}: return dst on error from unmarshalBlockHeaders, so it could be reused
|
2020-05-14 15:32:23 +03:00 |
|
Aliaksandr Valialkin
|
c59f5c4865
|
lib/storage: pre-allocate memory for blockHeader slice in unmarshalBlockHeaders
This reduces memory usage and memory fragmentation when working with big number of time series
|
2019-08-19 12:46:45 +03:00 |
|
Aliaksandr Valialkin
|
1836c415e6
|
all: open-sourcing single-node version
|
2019-05-23 00:18:06 +03:00 |
|