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

Method Prepare

twopc/twopc.go:41–41  ·  view source on GitHub ↗
(ctx context.Context, wb WriteBatch)

Source from the content-addressed store, hash-verified

39// Worker represents a 2PC worker who implements Prepare, Commit, and Rollback.
40type Worker interface {
41 Prepare(ctx context.Context, wb WriteBatch) error
42 Commit(ctx context.Context, wb WriteBatch) (interface{}, error)
43 Rollback(ctx context.Context, wb WriteBatch) error
44}

Callers 7

deleteTxsFunction · 0.65
TestStmtFunction · 0.65
TestBadTypeFunction · 0.65
TestStorageFunction · 0.65
setupBenchmarkChainFunction · 0.65
setupBenchmarkStorageFunction · 0.65
prepareMethod · 0.65

Implementers 3

connclient/conn.go
Storagestorage/storage.go
RaftNodetwopc/twopc_test.go

Calls

no outgoing calls

Tested by 5

TestStmtFunction · 0.52
TestBadTypeFunction · 0.52
TestStorageFunction · 0.52
setupBenchmarkChainFunction · 0.52
setupBenchmarkStorageFunction · 0.52