From 085b7e7027c063a25eb708b378b1f9429ebbaa61 Mon Sep 17 00:00:00 2001 From: Lucas Wang Date: Tue, 2 Apr 2019 15:57:55 -0700 Subject: [PATCH] Populate the StartTs for the commit gRPC call so that clients can double check the startTs still matches (#3228) --- 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 }