Merge pull request #3683 from sfc-gh-ljoswiak/setup-trace-batch

Add call to set up tracing on transaction commit path
This commit is contained in:
Markus Pilman 2020-08-26 13:24:37 -06:00 committed by GitHub
commit 6d0610c6b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -1440,6 +1440,7 @@ ACTOR Future<Void> commitBatch(
context.pProxyCommitData->lastVersionTime = context.startTime;
++context.pProxyCommitData->stats.commitBatchIn;
context.setupTraceBatch();
/////// Phase 1: Pre-resolution processing (CPU bound except waiting for a version # which is separately pipelined and *should* be available by now (unless empty commit); ordered; currently atomic but could yield)
wait(CommitBatch::preresolutionProcessing(&context));