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

Method applyRPC

kayak/rpc.go:43–57  ·  view source on GitHub ↗

rpc related

(l *kt.Log, minCount int)

Source from the content-addressed store, hash-verified

41
42/// rpc related
43func (r *Runtime) applyRPC(l *kt.Log, minCount int) (tracker *rpcTracker) {
44 req := &kt.ApplyRequest{
45 Instance: r.instanceID,
46 Log: l,
47 }
48
49 tracker = newTracker(r, req, minCount)
50 tracker.send()
51
52 // TODO(): track this rpc
53
54 // TODO(): log remote errors
55
56 return
57}

Callers 3

leaderDoCommitMethod · 0.95
doLeaderPrepareMethod · 0.95
doLeaderRollbackMethod · 0.95

Calls 2

newTrackerFunction · 0.85
sendMethod · 0.80

Tested by

no test coverage detected