Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( StoreUpgrade = declareFeatureGate("StoreUpgrade", true, true, "Enable store upgrading.") StoreDynamicConfig = declareFeatureGate("StoreDynamicConfig", false, true, "Enable dynamic config updating on stores.") AutoDataRebalance = declareFeatureGate("AutoDataRebalance", true, true, "Rebalance data automatically when scaling.") WaitDrainedNodeToBeOffline = declareFeatureGate("WaitDrainedNodeToBeOffline", true, true, "Enable waiting until drained nodes are marked offline when no CDC nodes found.") EnableGalaxyClusterMode = declareFeatureGate("EnableGalaxyCluster", true, false, "Enable cluster mode on galaxy store engine.") EnforceQoSGuaranteed = declareFeatureGate("EnforceQoSGuaranteed", false, false, "Enforce pod's QoS to Guaranteed.") ResetTrustIpsBeforeStart = declareFeatureGate("ResetTrustIpsBeforeStart", false, true, "Reset trust ips in CNs to avoid security problems.") EnableXStoreWithHeadlessService = declareFeatureGate("EnableXStoreWithHeadlessService", true, false, "Use headless services for pods in xstore.") )
Feature gates to prevent unstable or developing codes from running.
Functions ¶
func ExtraFeatureGateArg ¶
func ExtraFeatureGateArg() string
func SetupFeatureGates ¶
func SetupFeatureGates(featureGates []string)
Types ¶
type FeatureGate ¶
type FeatureGate struct {
// contains filtered or unexported fields
}
func (*FeatureGate) Description ¶
func (g *FeatureGate) Description() string
func (*FeatureGate) Enabled ¶
func (g *FeatureGate) Enabled() bool
func (*FeatureGate) Key ¶
func (g *FeatureGate) Key() string
Click to show internal directories.
Click to hide internal directories.