Defer response messaging to onSuccess for all ExportBuilders that use QueryPerformanceRecorder. This allows clients to expect that query performance results have been logged before they receive a response.
Change summary:
Adjust all SessionState.ExportBuilder uses that set a QueryPerformanceRecorder to use onSuccess for response delivery if possible
Exclusions: DoExchange subscriptions and async input table operations
Note: batch already used onSuccess, but completion now happens after performance results are reported
Defer response messaging to
onSuccess
for allExportBuilders
that useQueryPerformanceRecorder
. This allows clients to expect that query performance results have been logged before they receive a response.Change summary:
SessionState.ExportBuilder
uses that set aQueryPerformanceRecorder
to useonSuccess
for response delivery if possibleDoExchange
subscriptions and async input table operationsonSuccess
, but completion now happens after performance results are reportedGrpcUtil
usage