@@ -2097,7 +2097,8 @@ void ReplicaImp::onCommitCombinedSigSucceeded(SeqNum seqNumber,
20972097 (seqNumber > lastExecutedSeqNum + config_.getconcurrencyLevel () + activeExecutions_);
20982098
20992099 auto span = concordUtils::startChildSpanFromContext (
2100- commitFull->spanContext <std::remove_pointer<decltype (commitFull)>::type>(), " bft_execute_committed_reqs" );
2100+ commitFull->spanContext <std::remove_pointer<decltype (commitFull)>::type>(),
2101+ " bft_handle_commit_combined_sig_succeeded_message" );
21012102 updateCommitMetrics (CommitPath::SLOW);
21022103 startExecution (seqNumber, span, askForMissingInfoAboutCommittedItems);
21032104}
@@ -2144,7 +2145,8 @@ void ReplicaImp::onCommitVerifyCombinedSigResult(SeqNum seqNumber, ViewNum view,
21442145 LOG_INFO (CNSUS, " Request committed, proceeding to try to execute" << KVLOG (view));
21452146
21462147 auto span = concordUtils::startChildSpanFromContext (
2147- commitFull->spanContext <std::remove_pointer<decltype (commitFull)>::type>(), " bft_execute_committed_reqs" );
2148+ commitFull->spanContext <std::remove_pointer<decltype (commitFull)>::type>(),
2149+ " bft_handle_commit_verify_combined_sig_result" );
21482150 bool askForMissingInfoAboutCommittedItems =
21492151 (seqNumber > lastExecutedSeqNum + config_.getconcurrencyLevel () + activeExecutions_);
21502152 updateCommitMetrics (CommitPath::SLOW);
@@ -2203,7 +2205,7 @@ void ReplicaImp::onFastPathCommitCombinedSigSucceeded(SeqNum seqNumber,
22032205 lastExecutedSeqNum + config_.getconcurrencyLevel () + activeExecutions_); // TODO(GG): check/improve this logic
22042206
22052207 auto span = concordUtils::startChildSpanFromContext (fcp->spanContext <std::remove_pointer<decltype (fcp)>::type>(),
2206- " bft_execute_committed_reqs " );
2208+ " bft_handle_fast_path_commit_combined_sig_succeeded " );
22072209
22082210 updateCommitMetrics (cPath);
22092211
@@ -2268,7 +2270,7 @@ void ReplicaImp::onFastPathCommitVerifyCombinedSigResult(SeqNum seqNumber,
22682270 lastExecutedSeqNum + config_.getconcurrencyLevel () + activeExecutions_); // TODO(GG): check/improve this logic
22692271
22702272 auto span = concordUtils::startChildSpanFromContext (fcp->spanContext <std::remove_pointer<decltype (fcp)>::type>(),
2271- " bft_execute_committed_reqs " );
2273+ " bft_handle_fast_path_commit_verify_combined_sig_result " );
22722274
22732275 updateCommitMetrics (cPath);
22742276
@@ -4967,14 +4969,14 @@ void ReplicaImp::executeSpecialRequests(PrePrepareMsg *ppMsg,
49674969 reqIdx++;
49684970 }
49694971
4972+ auto span_context = ppMsg->spanContext <std::remove_pointer<decltype (ppMsg)>::type>();
49704973 // TODO(GG): the following code is cumbersome. We can call to execute directly in the above loop
49714974 IRequestsHandler::ExecutionRequestsQueue singleRequest;
49724975 for (IRequestsHandler::ExecutionRequest &req : accumulatedRequests) {
49734976 ConcordAssert (singleRequest.empty ());
49744977 singleRequest.push_back (req);
49754978 {
4976- const concordUtils::SpanContext &span_context{" " };
4977- auto span = concordUtils::startChildSpanFromContext (span_context, " bft_client_request" );
4979+ auto span = concordUtils::startChildSpanFromContext (span_context, " bft_client_special_request" );
49784980 span.setTag (" rid" , config_.getreplicaId ());
49794981 span.setTag (" cid" , req.cid );
49804982 span.setTag (" seq_num" , req.requestSequenceNum );
@@ -5036,12 +5038,12 @@ void ReplicaImp::executeRequests(PrePrepareMsg *ppMsg, Bitmap &requestSet, Times
50365038 setConflictDetectionBlockId (req, pAccumulatedRequests->back ());
50375039 }
50385040 }
5041+ auto span_context = ppMsg->spanContext <std::remove_pointer<decltype (ppMsg)>::type>();
50395042 if (ReplicaConfig::instance ().blockAccumulation ) {
50405043 LOG_DEBUG (GL,
50415044 " Executing all the requests of preprepare message with cid: " << ppMsg->getCid () << " with accumulation" );
50425045 {
50435046 // TimeRecorder scoped_timer1(*histograms_.executeWriteRequest);
5044- const concordUtils::SpanContext &span_context{" " };
50455047 auto span = concordUtils::startChildSpanFromContext (span_context, " bft_client_request" );
50465048 span.setTag (" rid" , config_.getreplicaId ());
50475049 span.setTag (" cid" , ppMsg->getCid ());
@@ -5064,7 +5066,6 @@ void ReplicaImp::executeRequests(PrePrepareMsg *ppMsg, Bitmap &requestSet, Times
50645066 singleRequest.push_back (req);
50655067 {
50665068 // TimeRecorder scoped_timer1(*histograms_.executeWriteRequest);
5067- const concordUtils::SpanContext &span_context{" " };
50685069 auto span = concordUtils::startChildSpanFromContext (span_context, " bft_client_request" );
50695070 span.setTag (" rid" , config_.getreplicaId ());
50705071 span.setTag (" cid" , ppMsg->getCid ());
0 commit comments