VictoriaMetrics/app/vmstorage
Aliaksandr Valialkin e4cef1b678 app/vmstorage: prevent from serving conns from vminsert and vmselect after the server is closed
Previously it was possible that the connection is served after the server is closed if the following
steps are performed:

1) Server accepts new connection.
2) Server.MustClose() is called and successfully finished.
3) Server starts processing the connection accepted at step 1. There could be various crashes
   like in https://github.com/VictoriaMetrics/VictoriaMetrics/issues/534 since the storage may be already closed.

Now the server closes the connection at step 3 without processing it.
2020-06-05 11:55:48 +03:00
..
deployment Rootless docker images by default (#358) 2020-03-27 21:18:32 +02:00
transport app/vmstorage: prevent from serving conns from vminsert and vmselect after the server is closed 2020-06-05 11:55:48 +03:00
main.go all: print --help output to stdout instead of stderr 2020-05-16 12:03:06 +03:00
Makefile all: publish Docker images for the following GOARCH: amd64, arm, arm64, ppc64le and 386 2019-12-11 23:33:11 +02:00
README.md all: open-sourcing cluster version 2019-05-23 00:25:38 +03:00

vmstorage performs the following tasks:

  • Accepts inserts from vminsert nodes and stores them to local storage.

  • Performs select requests from vmselect nodes.