MCPcopy Create free account
hub / github.com/apache/incubator-pegasus / SetMetaLevelSteady

Function SetMetaLevelSteady

admin-cli/client/migrate_node.go:39–42  ·  view source on GitHub ↗
(meta Meta)

Source from the content-addressed store, hash-verified

37}
38
39func SetMetaLevelSteady(meta Meta) error {
40 _, err := meta.MetaControl(admin.MetaFunctionLevel_fl_steady)
41 return err
42}
43
44func listReplicasOnNode(meta Meta, node *util.PegasusNode, tableName string) ([]*replication.PartitionConfiguration, error) {
45 resp, err := meta.QueryConfig(tableName)

Callers 2

MigratePrimariesOutFunction · 0.85
downgradeNodeFunction · 0.85

Calls 1

MetaControlMethod · 0.65

Tested by

no test coverage detected