mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-05 01:01:09 +01:00
app/vminsert/clusternative: explain why lower-level vminsert doesnt compress responses to upper-level vminsert
This commit is contained in:
parent
3199558da9
commit
be320c81bc
@ -23,6 +23,8 @@ var (
|
||||
|
||||
// InsertHandler processes data from vminsert nodes.
|
||||
func InsertHandler(c net.Conn) error {
|
||||
// There is no need in response compression, since
|
||||
// lower-level vminsert sends only small packets to upper-level vminsert.
|
||||
bc, err := handshake.VMInsertServer(c, 0)
|
||||
if err != nil {
|
||||
if errors.Is(err, handshake.ErrIgnoreHealthcheck) {
|
||||
|
Loading…
Reference in New Issue
Block a user