Documentation ¶
Overview ¶
Copyright 2021 SANGFOR TECHNOLOGIES
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Index ¶
Constants ¶
View Source
const ( Error3159 = "Error 3159:" Error1045 = "Access denied for user" )
View Source
const ( Error1045AccessDenied = "Error 1045: Access denied for user" ErrorConnectionRefused = "getsockopt: connection refused" ErrorNoSuchHost = "no such host" ErrorIOTimeout = "i/o timeout" )
View Source
const ( NotMasterRecovery MasterRecoveryType = "NotMasterRecovery" MasterRecoveryGTID = "MasterRecoveryGTID" MasterRecoveryPseudoGTID = "MasterRecoveryPseudoGTID" MasterRecoveryBinlogServer = "MasterRecoveryBinlogServer" )
View Source
const ( // Group member roles GroupReplicationMemberRolePrimary = "PRIMARY" GroupReplicationMemberRoleSecondary = "SECONDARY" // Group member states GroupReplicationMemberStateOnline = "ONLINE" GroupReplicationMemberStateRecovering = "RECOVERING" GroupReplicationMemberStateOffline = "OFFLINE" GroupReplicationMemberStateError = "ERROR" )
View Source
const ( GTIDHintDeny OperationGTIDHint = "NoGTID" GTIDHintNeutral = "GTIDHintNeutral" GTIDHintForce = "GTIDHintForce" )
View Source
const ( ReplicationThreadStateNoThread ReplicationThreadState = -1 ReplicationThreadStateStopped = 0 ReplicationThreadStateRunning = 1 ReplicationThreadStateOther = 2 )
View Source
const AnonymousGTIDNextEvent = "SET @@SESSION.GTID_NEXT= 'ANONYMOUS'"
The event type to filter out
View Source
const (
BackendDBConcurrency = 20
)
View Source
const DBTMysql = "mysql"
View Source
const (
Error1201CouldnotInitializeMasterInfoStructure = "Error 1201:"
)
View Source
const MysqlDefaultQuery = `` /* 1499-byte string literal not displayed */
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MasterRecoveryType ¶
type MasterRecoveryType string
type OperationGTIDHint ¶
type OperationGTIDHint string
type ReplicationThreadState ¶
type ReplicationThreadState int
Click to show internal directories.
Click to hide internal directories.