MCPcopy Create free account
hub / github.com/dgraph-io/dgraph-benchmarks / CommitOrAbort

Method CommitOrAbort

bitmap/pb.pb.go:5837–5844  ·  view source on GitHub ↗
(ctx context.Context, in *api.TxnContext, opts ...grpc.CallOption)

Source from the content-addressed store, hash-verified

5835}
5836
5837func (c *zeroClient) CommitOrAbort(ctx context.Context, in *api.TxnContext, opts ...grpc.CallOption) (*api.TxnContext, error) {
5838 out := new(api.TxnContext)
5839 err := c.cc.Invoke(ctx, "/pb.Zero/CommitOrAbort", in, out, opts...)
5840 if err != nil {
5841 return nil, err
5842 }
5843 return out, nil
5844}
5845
5846func (c *zeroClient) TryAbort(ctx context.Context, in *TxnTimestamps, opts ...grpc.CallOption) (*OracleDelta, error) {
5847 out := new(OracleDelta)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected