MCPcopy Index your code
hub / github.com/CovenantSQL/CovenantSQL / commitCycle

Method commitCycle

kayak/commit.go:113–127  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

111}
112
113func (r *Runtime) commitCycle() {
114 for {
115 var cReq *commitReq
116
117 select {
118 case <-r.stopCh:
119 return
120 case cReq = <-r.commitCh:
121 }
122
123 if cReq != nil {
124 r.doCommitCycle(cReq)
125 }
126 }
127}
128
129func (r *Runtime) leaderDoCommit(req *commitReq) {
130 if req.log != nil {

Callers

nothing calls this directly

Calls 1

doCommitCycleMethod · 0.95

Tested by

no test coverage detected