Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // VastoInternalKeyPrefix is a reserved key prefix for Vasto internal meta data VastoInternalKeyPrefix = []byte("_vasto.") )
Functions ¶
func NewVastoMergeOperator ¶
func NewVastoMergeOperator() gorocksdb.MergeOperator
NewVastoMergeOperator creates a MergeOperator object for rocksdb.
Types ¶
type StoreOption ¶
type StoreOption struct { Dir *string Host *string ListenHost *string TcpPort *int32 Bootstrap *bool DisableUnixSocket *bool Master *string LogFileSizeMb *int LogFileCount *int DiskSizeGb *int Tags *string DisableUseEventIo *bool DisableBinLog *bool }
StoreOption has options to run a data store
func (*StoreOption) GetAdminPort ¶
func (o *StoreOption) GetAdminPort() int32
GetAdminPort returns the admin port of the store, which is the data port plus 10000
Source Files ¶
- keyspace_shards.go
- process_delete.go
- process_get.go
- process_merge.go
- process_prefix.go
- process_put.go
- shard.go
- shard_bootstrap.go
- shard_event_processor.go
- shard_follow_binlog.go
- shard_follow_progress.go
- shard_merge_operator.go
- shard_peers.go
- store_grpc_client_to_master.go
- store_grpc_server.go
- store_grpc_server_binlog.go
- store_grpc_server_bootstrap.go
- store_grpc_server_compact_keyspace.go
- store_grpc_server_create_shard.go
- store_grpc_server_debug.go
- store_grpc_server_delete_keyspace.go
- store_grpc_server_replace.go
- store_grpc_server_resize.go
- store_in_cluster.go
- store_periodic_tasks.go
- store_server.go
- store_tcp_server.go
Click to show internal directories.
Click to hide internal directories.