master

package
v0.0.0-...-0ce2e87 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2024 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DKVClusterService

type DKVClusterService interface {
	DKVService
	serverpb.DKVClusterServer
}

A DKVClusterService represents a service for serving key value data along with exposing all mutations as a replication stream. Moreover it also provides means to add and remove DKV nodes onto the current cluster.

func NewDistributedService

func NewDistributedService(kvs storage.KVStore, cp storage.ChangePropagator, br storage.Backupable,
	raftRepl nexus_api.RaftReplicator, regionInfo *serverpb.RegionInfo, opts *opts.ServerOpts) DKVClusterService

NewDistributedService creates a distributed variant of the DKV service that attempts to replicate data across multiple replicas over Nexus.

type DKVService

A DKVService represents a service for serving key value data along with exposing all mutations as a replication stream.

func NewStandaloneService

func NewStandaloneService(store storage.KVStore, cp storage.ChangePropagator, br storage.Backupable, regionInfo *serverpb.RegionInfo, opts *opts.ServerOpts) DKVService

NewStandaloneService creates a standalone variant of the DKVService that works only with the local storage.

Jump to

Keyboard shortcuts

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