From a059355fc5a57888a430a72e1583538fb938bd33 Mon Sep 17 00:00:00 2001 From: Lucas Wang Date: Fri, 29 Mar 2019 13:47:08 -0700 Subject: [PATCH] Populate the StartTs for the commit gRPC call so that clients can double check the startTs still matches --- edgraph/server.go | 1 + 1 file changed, 1 insertion(+) diff --git a/edgraph/server.go b/edgraph/server.go index 865e623e930..eaa315ffeba 100644 --- a/edgraph/server.go +++ b/edgraph/server.go @@ -667,6 +667,7 @@ func (s *Server) CommitOrAbort(ctx context.Context, tc *api.TxnContext) (*api.Tx tctx.Aborted = true return tctx, status.Errorf(codes.Aborted, err.Error()) } + tctx.StartTs = tc.StartTs tctx.CommitTs = commitTs return tctx, err }