Merge changes from topic "new-TraceContext-newTimer-signature"
* changes: ReceiveCommits: Pull up trace context from processCommandsUnsafe into processCommands Log warning when LoggingContext of background thread is not initially empty Unset logging context before returning a thread back to the thread pool Add extension point to record execution times in a performance log TraceContext#newTimer: Separate message from arguments
This commit is contained in:
@@ -157,8 +157,7 @@ class ExternalIdCacheImpl implements ExternalIdCache {
|
||||
|
||||
@Override
|
||||
public AllExternalIds load(ObjectId notesRev) throws Exception {
|
||||
try (TraceTimer timer =
|
||||
TraceContext.newTimer("Loading external IDs (revision=%s)", notesRev)) {
|
||||
try (TraceTimer timer = TraceContext.newTimer("Loading external IDs", "revision", notesRev)) {
|
||||
ImmutableSet<ExternalId> externalIds = externalIdReader.all(notesRev);
|
||||
externalIds.forEach(ExternalId::checkThatBlobIdIsSet);
|
||||
return AllExternalIds.create(externalIds);
|
||||
|
||||
Reference in New Issue
Block a user