vitess: github.com/youtube/vitess/go/vt

Directories

PathSynopsis
automationPackage automation contains code to execute high-level cluster operations (e.g.
binlog
binlog/binlogplayerPackage binlogplayer contains the code that plays a filtered replication stream on a client database.
binlog/binlogplayertest
binlog/eventtokenPackage eventtoken includes utility methods for event token handling.
binlog/grpcbinlogplayer
binlog/grpcbinlogstreamerPackage grpcbinlogstreamer contains the gRPC implementation of the binlog streamer server component.
calleridPackage callerid stores/retrives CallerIDs (immediate CallerID and effective CallerID) to/from the Context
callerid/testsuite
callinfoPackage callinfo stores custom values into the Context (related to the RPC source)
callinfo/fakecallinfo
concurrency
dbconfigsPackage dbconfigs is reusable by vt tools to load the db configs file.
dbconnpoolPackage dbconnpool exposes a single DBConnection object with wrapped access to a single DB connection, and a ConnectionPool object to pool these DBConnections.
discoveryPackage discovery provides a way to discover all tablets e.g.
dtidsPackage dtids contains dtid convenience functions.
env
estimatorPackage estimator implements future value estimation by EWMA algorithm.
etcdtopoPackage etcdtopo implements topo.Server with etcd as the backend.
eventsPackage events defines common structures used for events dispatched from various other package.
health
hook
key
logutil
logzPackage logz provides an infrastructure to expose a list of entries as a sortable table on a webpage.
mysqlctl
mysqlctl/backupstoragePackage backupstorage contains the interface and file system implementation of the backup system.
mysqlctl/cephbackupstoragePackage cephbackupstorage implements the BackupStorage interface for Ceph Cloud Storage.
mysqlctl/filebackupstoragePackage filebackupstorage implements the BackupStorage interface for a local filesystem (which can be an NFS mount).
mysqlctl/gcsbackupstoragePackage gcsbackupstorage implements the BackupStorage interface for Google Cloud Storage.
mysqlctl/grpcmysqlctlclientPackage grpcmysqlctlclient contains the gRPC1 version of the mysqlctl client protocol.
mysqlctl/grpcmysqlctlserverPackage grpcmysqlctlserver contains the gRPC implementation of the server side of the remote execution of mysqlctl commands.
mysqlctl/mysqlctlclientPackage mysqlctlclient contains the generic client side of the remote mysqlctl protocol.
mysqlctl/s3backupstoragePackage s3backupstorage implements the BackupStorage interface for AWS S3.
mysqlctl/tmutilsPackage tmutils contains helper methods to deal with the tabletmanagerdata proto3 structures.
proto/automationPackage automation is a generated protocol buffer package.
proto/automationservicePackage automationservice is a generated protocol buffer package.
proto/binlogdataPackage binlogdata is a generated protocol buffer package.
proto/binlogservicePackage binlogservice is a generated protocol buffer package.
proto/logutilPackage logutil is a generated protocol buffer package.
proto/mysqlctlPackage mysqlctl is a generated protocol buffer package.
proto/queryPackage query is a generated protocol buffer package.
proto/queryservicePackage queryservice is a generated protocol buffer package.
proto/replicationdataPackage replicationdata is a generated protocol buffer package.
proto/tableaclPackage tableacl is a generated protocol buffer package.
proto/tabletmanagerdataPackage tabletmanagerdata is a generated protocol buffer package.
proto/tabletmanagerservicePackage tabletmanagerservice is a generated protocol buffer package.
proto/throttlerdataPackage throttlerdata is a generated protocol buffer package.
proto/throttlerservicePackage throttlerservice is a generated protocol buffer package.
proto/topodataPackage topodata is a generated protocol buffer package.
proto/vschemaPackage vschema is a generated protocol buffer package.
proto/vtctldataPackage vtctldata is a generated protocol buffer package.
proto/vtctlservicePackage vtctlservice is a generated protocol buffer package.
proto/vtgatePackage vtgate is a generated protocol buffer package.
proto/vtgateservicePackage vtgateservice is a generated protocol buffer package.
proto/vtrpcPackage vtrpc is a generated protocol buffer package.
proto/vttestPackage vttest is a generated protocol buffer package.
proto/vtworkerdataPackage vtworkerdata is a generated protocol buffer package.
proto/vtworkerservicePackage vtworkerservice is a generated protocol buffer package.
proto/workflowPackage workflow is a generated protocol buffer package.
schemamanager
schemamanager/schemaswap
servenvPackage servenv contains functionality that is common for all Vitess server programs.
servenv/grpcutils
sqlannotationPackage sqlannotation provides functions for annotating DML statements with keyspace-id comments and parsing them.
sqlparser
statusPackage status defines a few useful functions for our binaries, mainly to link the status page with a vtctld instance.
tableacl
tableacl/acl
tableacl/simpleacl
tableacl/testlib
throttlerPackage throttler provides a client-side, local throttler which is used to throttle (and actively pace) writes during the resharding process.
throttler/demo
throttler/grpcthrottlerclientPackage grpcthrottlerclient contains the gRPC version of the throttler client protocol.
throttler/grpcthrottlerserverPackage grpcthrottlerserver contains the gRPC implementation of the server side of the throttler service.
throttler/throttlerclientPackage throttlerclient defines the generic RPC client interface for the throttler service.
throttler/throttlerclienttestPackage throttlerclienttest contains the testsuite against which each RPC implementation of the throttlerclient interface must be tested.
tlstestPackage tlstest contains utility methods to create test certificates.
topo
topo/consultopoPackage consultopo implements topo.Server with consul as the backend.
topo/etcd2topoPackage etcd2topo implements topo.Server with etcd as the backend.
topo/eventsPackage events defines the structures used for events relating directly to individual topology elements, like keyspaces, shards, and tablets.
topo/helpersPackage helpers contains a few utility classes to handle topo.Server objects, and transitions from one topo implementation to another.
topo/memorytopoPackage memorytopo contains an implementation of the topo.Backend API based on an in-process memory map.
topo/testPackage test contains utilities to test topo.Impl implementations.
topo/test/faketopoPackage faketopo contains utitlities for tests that have to interact with a Vitess topology.
topotoolsPackage topotools contains high level functions based on vt/topo and vt/actionnode.
topotools/eventsPackage events defines the structures used for events dispatched from the wrangler package.
topo/topoprotoPackage topoproto contains utility functions to deal with the proto3 structures defined in proto/topodata.
topo/topotestsPackage topotests contains all the unit tests for the topo.Server code that is based on topo.Backend.
topo/zk2topo
vitessdriverPackage vitessdriver contains the Vitess Go SQL driver.
vtctl
vtctldPackage vtctld contains all the code to expose a vtctld server based on the provided topo.Server.
vtctld/explorer
vtctl/fakevtctlclientPackage fakevtctlclient contains a fake for the vtctlclient interface.
vtctl/grpcvtctlclientPackage grpcvtctlclient contains the gRPC version of the vtctl client protocol
vtctl/grpcvtctlserverPackage grpcvtctlserver contains the gRPC implementation of the server side of the remote execution of vtctl commands.
vtctl/vtctlclientPackage vtctlclient contains the generic client side of the remote vtctl protocol.
vtctl/vtctlclienttestPackage vtctlclienttest contains the testsuite against which each RPC implementation of the vtctlclient interface must be tested.
vterrorsPackage vterrors provides helpers for propagating internal errors through the Vitess system (including across RPC boundaries) in a structured way.
vtexplainPackage vtexplain analyzes a set of sql statements and returns the corresponding vtgate and vttablet query plans that will be executed on the given statements
vtgatePackage vtgate provides query routing rpc services for vttablets.
vtgate/bufferPackage buffer provides a buffer for MASTER traffic during failovers.
vtgate/engine
vtgate/fakerpcvtgateconnPackage fakerpcvtgateconn provides a fake implementation of vtgateconn.Impl that doesn't do any RPC, but uses a local map to return results.
vtgate/gatewayPackage gateway contains the routing layer of vtgate.
vtgate/gatewaytestPackage gatewaytest contains a test suite to run against a Gateway object.
vtgate/grpcvtgateconnPackage grpcvtgateconn provides gRPC connectivity for VTGate.
vtgate/grpcvtgateservicePackage grpcvtgateservice provides the gRPC glue for vtgate
vtgate/l2vtgatePackage l2vtgate provides the core functionnality of a second-layer vtgate to route queries from an original vtgate to a subset of tablets.
vtgate/masterbufferPackage masterbuffer contains experimental logic to buffer master requests in VTGate.
vtgate/planbuilderPackage planbuilder allows you to build execution plans that describe how to fulfill a query that may span multiple keyspaces or shards.
vtgate/vindexes
vtgate/vtgateconn
vtgate/vtgateconntestPackage vtgateconntest provides the test methods to make sure a vtgateconn/vtgateservice pair over RPC works correctly.
vtgate/vtgateservicePackage vtgateservice provides to interface definition for the vtgate service
vtgate/vtgateservice/vtgateservice_testing
vttablet/agentrpctest
vttablet/customrule/filecustomrulePackage filecustomrule implements static custom rule from a config file
vttablet/customrule/zkcustomrule
vttablet/endtoendPackage endtoend is a test-only package.
vttablet/endtoend/framework
vttablet/faketmclient
vttablet/grpcqueryservice
vttablet/grpctabletconn
vttablet/grpctmclient
vttablet/grpctmserver
vttablet/heartbeatPackage heartbeat contains a writer and reader of heartbeats for a master-slave cluster.
vttablet/queryservicePackage queryservice contains the interface for the service definition of the Query Service.
vttablet/queryservice/fakes
vttablet/sandboxconnPackage sandboxconn provides a fake QueryService implementation for tests.
vttablet/syslogloggerPackage sysloglogger implements an optional plugin that logs all queries to syslog.
vttablet/tabletconn
vttablet/tabletconntestPackage tabletconntest provides the test methods to make sure a tabletconn/queryservice pair over RPC works correctly.
vttablet/tabletmanagerPackage tabletmanager exports the ActionAgent object.
vttablet/tabletmanager/eventsPackage events contains event structs used by the tabletmanager package.
vttablet/tabletserver
vttablet/tabletserver/connpool
vttablet/tabletserver/messager
vttablet/tabletservermockPackage tabletservermock provides mock interfaces for tabletserver.
vttablet/tabletserver/planbuilder
vttablet/tabletserver/rules
vttablet/tabletserver/schema
vttablet/tabletserver/schema/schematestPackage schematest provides support for testing packages that depend on schema
vttablet/tabletserver/splitqueryPackage splitquery contains the logic needed for implementing the tabletserver's SplitQuery RPC.
vttablet/tabletserver/splitquery/splitquery_testing
vttablet/tabletserver/tabletenvPackage tabletenv maintains environment variables and types that are common for all packages of tabletserver.
vttablet/tabletserver/txserializerPackage txserializer provides the vttablet hot row protection.
vttablet/tabletserver/txthrottler
vttablet/tmclient
vttestPackage vttest provides the functionality to bring up a test cluster.
vttimePackage vttime contains the definitions and implementations for the Vitess time library.
workerPackage worker contains the framework, utility methods and core functions for long running actions.
worker/events
worker/fakevtworkerclientPackage fakevtworkerclient contains a fake for the vtworkerclient interface.
worker/grpcvtworkerclientPackage grpcvtworkerclient contains the gRPC version of the vtworker client protocol.
worker/grpcvtworkerserverPackage grpcvtworkerserver contains the gRPC implementation of the server side of the remote execution of vtworker commands.
worker/vtworkerclientPackage vtworkerclient contains the generic client side of the remote vtworker protocol.
worker/vtworkerclienttestPackage vtworkerclienttest contains the testsuite against which each RPC implementation of the vtworkerclient interface must be tested.
workflow
workflow/resharding
workflow/topovalidatorPackage topovalidator contains a workflow that validates the topology data.
wranglerPackage wrangler contains the Wrangler object to manage complex topology actions.
wrangler/testlibPackage testlib contains utility methods to include in unit tests to deal with topology common tasks, like fake tablets and action loops.

Updated 2017-09-25. Refresh now. Tools for package owners.