Aliaksandr Valialkin
|
36bbdd7d4b
|
lib/mergeset: consistently use OS-independent separator in file paths
This is needed for Windows support, which uses `\` instead of `/` as file separator
Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/70
|
2023-03-25 13:39:41 -07:00 |
|
Aliaksandr Valialkin
|
343c69fc15
|
lib/{mergeset,storage}: pass compressLevel to blockStreamWriter.InitFromInmemoryPart
This allows packing in-memory blocks with different compression levels
depending on its contents. This may save memory usage.
|
2022-12-03 22:46:48 -08:00 |
|
Aliaksandr Valialkin
|
ce2c07c5a7
|
lib/mergeset: atomically remove part dirs
Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/3038
|
2022-09-13 16:17:38 +03:00 |
|
Aliaksandr Valialkin
|
7da4068f48
|
lib/mergeset: consistency renaming: ip->mp for inmemoryPart vars
|
2022-03-03 15:48:22 +02:00 |
|
Aliaksandr Valialkin
|
d5dddb0953
|
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:05:11 +03:00 |
|
Aliaksandr Valialkin
|
0eacea1de1
|
lib/{storage,mergeset}: further tuning of compression levels depending on block size
This should improve performance for querying newly added data, since it can be unpacked faster.
|
2020-05-15 13:24:37 +03:00 |
|
Aliaksandr Valialkin
|
935bfd7a18
|
lib/fs: consistency renaming SyncPath -> MustSyncPath, since it doesnt return error
|
2019-06-11 23:13:49 +03:00 |
|
Aliaksandr Valialkin
|
20fc0e0e54
|
lib/{storage,mergeset}: sync filenames inside part when finalizing the part
Fixes https://github.com/VictoriaMetrics/VictoriaMetrics/issues/63
|
2019-06-11 21:51:13 +03:00 |
|
Aliaksandr Valialkin
|
ac7b186f13
|
all: try hard removing directory with contents
Fixes https://github.com/VictoriaMetrics/VictoriaMetrics/issues/61
|
2019-06-11 01:57:59 +03:00 |
|
Aliaksandr Valialkin
|
1836c415e6
|
all: open-sourcing single-node version
|
2019-05-23 00:18:06 +03:00 |
|