long requestNumber = _requestCounter.incrementAndGet();
String requestId = prefix + "-" + requestNumber;
String tracingConnectionString;
String connectionString;
if (controller) {
ControllerServerContext controllerServerContext = ControllerServerContext.getControllerServerContext();
if (controllerServerContext == null) {
connectionString = "unknown";
tracingConnectionString = "unknown";
} else {
connectionString = controllerServerContext.getConnectionString("\t");
tracingConnectionString = controllerServerContext.getConnectionString(":");
}
} else {
ShardServerContext shardServerContext = ShardServerContext.getShardServerContext();
if (shardServerContext == null) {
connectionString = "unknown";