Skip to content

Commit

Permalink
Code changes to address review comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
kundadebdatta committed Dec 29, 2023
1 parent b507ed2 commit 2f427e3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ public void OnBeforeSendRequest(DocumentServiceRequest request)
}

/// <summary>
/// Marks an endpoint unavailable in the global endpoint manager, for any future read requests.
/// Increments the location index when a service unavailable exception ocurrs, for any future read requests.
/// </summary>
/// <returns>A boolean flag indicating if the operation was successful.</returns>
private bool IncrementRetryIndexOnServiceUnavailableForMetadataRead()
Expand Down
5 changes: 5 additions & 0 deletions Microsoft.Azure.Cosmos/src/Routing/PartitionKeyRangeCache.cs
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,11 @@ private async Task<DocumentServiceResponse> ExecutePartitionKeyRangeReadChangeFe
childTrace.AddDatum("Exception Message", ex.Message);
throw;
}
catch (CosmosException ce)
{
childTrace.AddDatum("Exception Message", ce.Message);
throw;
}
}
}
}
Expand Down

0 comments on commit 2f427e3

Please sign in to comment.