crash.software
Projects
Pull Requests
Issues
Builds
dolt
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
dolt
Files
🤬
Sign In
v0.41.7
ROOT
/
go
/
libraries
/
doltcore
/
sqle
/
cluster
/
controller.go
Search
History
171 lines
|
ISO-8859-1
|
4 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
Role
RolePrimary
:
Role
RoleStandby
:
Role
PersistentConfigPrefix
Controller
cfg
:
Config
persistentCfg
:
config.ReadWriteConfig
role
:
Role
epoch
:
int
systemVars
:
sqlvars
mu
:
sync.Mutex
sqlvars
AddSystemVariables
(sysVars []sql.SystemVariable)
procedurestore
Register
(sql.ExternalStoredProcedureDetails)
DoltClusterRoleVariable
DoltClusterRoleEpochVariable
NewController
(cfg Config, pCfg config.ReadWriteConfig)
:
(*Controller, error)
applyBootstrapClusterConfig
(cfg Config, pCfg config.ReadWriteConfig)
:
(Role, int, error)
*Controller
ManageSystemVariables
(variables sqlvars)
RegisterStoredProcedures
(store procedurestore)
refreshSystemVars
()
persistVariables
()
:
error
setRoleAndEpoch
(role string, epoch int)
:
error
All occurrences
Please wait...
Page is in error, reload to recover