-
Notifications
You must be signed in to change notification settings - Fork 524
Open
Labels
DiagnosticsIssues around diagnostics and troubleshootingIssues around diagnostics and troubleshootingimprovementChange to existing functional behavior (perf, logging, etc.)Change to existing functional behavior (perf, logging, etc.)
Milestone
Description
During Load Balancing process, if there is a failure on:
It is not registered on the Notifications API.
In order to include these failures, the PartitionLoadBalancerCore needs to receive in its constructor, the ChangeFeedProcessorHealthMonitor , like https://github.com/Azure/azure-cosmos-dotnet-v3/blob/master/Microsoft.Azure.Cosmos/src/ChangeFeedProcessor/FeedManagement/PartitionControllerCore.cs#L34.
With the monitor, we can then log any issue on https://github.com/Azure/azure-cosmos-dotnet-v3/blob/master/Microsoft.Azure.Cosmos/src/ChangeFeedProcessor/FeedManagement/PartitionLoadBalancerCore.cs#L96-L100
catch (Exception e)
{
Extensions.TraceException(e);
DefaultTrace.TraceError("Partition load balancer iteration failed");
await this.monitor.NotifyErrorAsync("Partition load balancer", e);
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
DiagnosticsIssues around diagnostics and troubleshootingIssues around diagnostics and troubleshootingimprovementChange to existing functional behavior (perf, logging, etc.)Change to existing functional behavior (perf, logging, etc.)
Type
Projects
Status
Triage