clusternative

package
v1.69.0-cluster Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 8, 2021 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseStream

func ParseStream(bc *handshake.BufferedConn, callback func(rows []storage.MetricRow) error, isReadOnly func() bool) error

ParseStream parses data sent from vminsert to bc and calls callback for parsed rows. Optional function isReadOnly must return true if the storage cannot accept new data. In thic case the data read from bc isn't accepted and the readonly status is sent back bc.

The callback can be called concurrently multiple times for streamed data from req.

callback shouldn't hold block after returning.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL