VictoriaMetrics/lib/persistentqueue
Aliaksandr Valialkin 6f5bbf096a
app/vmagent/remotewrite: cosmetic updates after f3a51e8b1d
- Compare directory names instead of paths to directory when determining which persistent queues must be deleted
  This is less error-prone solution, since paths to the same directory can differ, which could lead
  to accidental directory removal for the existing -remoteWrite.url

- Log the `removed %d dangling queues` message when at least a single queue has been removed

- Consistently use filepath.Join() for creating paths to persistent queues.
  This is needed for Windows support (see https://github.com/VictoriaMetrics/VictoriaMetrics/issues/70 )

- Clarify the description of the change at docs/CHANGELOG.md

Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/4014
2023-03-27 18:38:53 -07:00
..
fastqueue.go app/vmagent/remotewrite: cosmetic updates after f3a51e8b1d 2023-03-27 18:38:53 -07:00
fastqueue_test.go all: fix golangci-lint issues 2020-03-10 19:40:03 +02:00
fastqueue_timing_test.go all: properly handle CPU limits set on the host system/container 2020-12-08 21:07:03 +02:00
persistentqueue.go lib/flagutil/bytes.go: properly handle values bigger than 2GiB on 32-bit architectures 2022-12-14 19:29:57 -08:00
persistentqueue_test.go all: use os.{Read|Write}File instead of ioutil.{Read|Write}File 2022-08-21 23:55:20 +03:00
persistentqueue_timing_test.go lib/persistentqueue: delete corrupted persistent queue instead of throwing a fatal error 2021-04-05 19:26:51 +03:00