VictoriaMetrics/lib/fs
Zongyang ce4f26db02
FIX bottomk doesn't return any data when there are no time range overlap between timeseries (#5509)
* FIX sort order in bottomk

* Add lessWithNaNsReversed for bottomk

* Add ut for TopK

* Move lt from loop

* FIX lint

* FIX lint

* FIX lint

* Mod log format

---------

Co-authored-by: xiaozongyang <xiaozngyang@kanyun.com>
Co-authored-by: Aliaksandr Valialkin <valyala@victoriametrics.com>
2024-01-16 02:19:36 +02:00
..
dir_remover.go lib/mergeset: atomically remove part dirs 2022-09-13 16:17:38 +03:00
fadvise_darwin.go FIX bottomk doesn't return any data when there are no time range overlap between timeseries (#5509) 2024-01-16 02:19:36 +02:00
fadvise_openbsd.go app/vmselect: reduce memory usage when query touches big number of time series 2020-11-04 17:04:04 +02:00
fadvise_solaris.go fixes solaris build (#1345) 2021-05-31 09:21:23 +03:00
fadvise_unix.go all: cleanup: remove // +build ... lines, since they are no longer needed after Go1.17, and the minimum supported Go version for VictoriaMetrics source code is Go1.20 2023-11-13 19:12:51 +01:00
fs.go lib/fs: remove unused IsEmptyDir() 2023-12-14 19:38:53 +02:00
fs_nix.go all: cleanup: remove // +build ... lines, since they are no longer needed after Go1.17, and the minimum supported Go version for VictoriaMetrics source code is Go1.20 2023-11-13 19:12:51 +01:00
fs_openbsd.go lib/fs: move common code outside arch-specific implementations of mustRemoveDirAtomic() 2023-05-08 23:10:20 -07:00
fs_solaris.go lib/fs: move common code outside arch-specific implementations of mustRemoveDirAtomic() 2023-05-08 23:10:20 -07:00
fs_test.go app/vmauth: follow-up for 13368bed18 2021-12-02 23:32:05 +02:00
fs_unix.go all: cleanup: remove // +build ... lines, since they are no longer needed after Go1.17, and the minimum supported Go version for VictoriaMetrics source code is Go1.20 2023-11-13 19:12:51 +01:00
fs_windows.go lib/fs: move common code outside arch-specific implementations of mustRemoveDirAtomic() 2023-05-08 23:10:20 -07:00
reader_at.go lib/fs: add ReaderAt.Path() function 2023-06-19 22:42:27 -07:00
reader_at_test.go all: use os.{Read|Write}File instead of ioutil.{Read|Write}File 2022-08-21 23:52:35 +03:00
reader_at_timing_test.go all: use os.{Read|Write}File instead of ioutil.{Read|Write}File 2022-08-21 23:52:35 +03:00