From 2e5a65222a0c8558475ec38712bf554b5dd2f96b Mon Sep 17 00:00:00 2001 From: SAY-5 Date: Thu, 16 Apr 2026 21:49:38 -0700 Subject: [PATCH 1/9] Fix occured typo in IRequestError.cs Signed-off-by: SAY-5 --- src/Cassandra/Connections/IRequestError.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Cassandra/Connections/IRequestError.cs b/src/Cassandra/Connections/IRequestError.cs index 9b11ea5ed..db92d8ce5 100644 --- a/src/Cassandra/Connections/IRequestError.cs +++ b/src/Cassandra/Connections/IRequestError.cs @@ -19,7 +19,7 @@ namespace Cassandra.Connections { /// - /// Represents an error that occured during a request. + /// Represents an error that occurred during a request. /// internal interface IRequestError { From 6c9601bfe8086cff5e3a762a68eee6ddb5084b71 Mon Sep 17 00:00:00 2001 From: SAY-5 Date: Thu, 16 Apr 2026 21:49:40 -0700 Subject: [PATCH 2/9] Fix occured typo in InitFatalErrorException.cs Signed-off-by: SAY-5 --- src/Cassandra/Exceptions/InitFatalErrorException.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Cassandra/Exceptions/InitFatalErrorException.cs b/src/Cassandra/Exceptions/InitFatalErrorException.cs index c985d5dd3..69a9a9b16 100644 --- a/src/Cassandra/Exceptions/InitFatalErrorException.cs +++ b/src/Cassandra/Exceptions/InitFatalErrorException.cs @@ -20,7 +20,7 @@ namespace Cassandra public class InitFatalErrorException : Exception { private const string ExceptionMessage = - "An error occured during the initialization of the cluster instance. Further initialization attempts " + + "An error occurred during the initialization of the cluster instance. Further initialization attempts " + "for this cluster instance will never succeed and will return this exception instead. The InnerException property holds " + "a reference to the exception that originally caused the initialization error."; From 1171bad081de92af61c25ee4596a512c3b8930c8 Mon Sep 17 00:00:00 2001 From: SAY-5 Date: Thu, 16 Apr 2026 21:49:42 -0700 Subject: [PATCH 3/9] Fix occured typo in ReprepareHandler.cs Signed-off-by: SAY-5 --- src/Cassandra/Requests/ReprepareHandler.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Cassandra/Requests/ReprepareHandler.cs b/src/Cassandra/Requests/ReprepareHandler.cs index bedae36ef..d0e605421 100644 --- a/src/Cassandra/Requests/ReprepareHandler.cs +++ b/src/Cassandra/Requests/ReprepareHandler.cs @@ -58,7 +58,7 @@ public async Task ReprepareOnAllNodesWithExistingConnections( if (prepareResult.TriedHosts.ContainsKey(poolKvp.Key.Address)) { PrepareHandler.Logger.Warning( - $"An error occured while attempting to prepare query on {{0}}:{Environment.NewLine}{{1}}", + $"An error occurred while attempting to prepare query on {{0}}:{Environment.NewLine}{{1}}", poolKvp.Key.Address, prepareResult.TriedHosts[poolKvp.Key.Address]); continue; @@ -140,7 +140,7 @@ public async Task ReprepareOnSingleNodeAsync( LogOrThrow( throwException, ex, - $"An error occured while attempting to prepare query on {{0}}:{Environment.NewLine}{{1}}", + $"An error occurred while attempting to prepare query on {{0}}:{Environment.NewLine}{{1}}", poolKvp.Key, ex); if (observer != null) @@ -178,7 +178,7 @@ await observer.OnNodeRequestErrorAsync( LogOrThrow( throwException, ex, - $"An error occured while attempting to prepare query on {{0}}:{Environment.NewLine}{{1}}", + $"An error occurred while attempting to prepare query on {{0}}:{Environment.NewLine}{{1}}", poolKvp.Key, ex); } From 98caaa12f12d670212293d9c566af6bd7c9606b2 Mon Sep 17 00:00:00 2001 From: SAY-5 Date: Thu, 16 Apr 2026 21:49:44 -0700 Subject: [PATCH 4/9] Fix occured typo in MetricsOperationObserver.cs Signed-off-by: SAY-5 --- src/Cassandra/Observers/Metrics/MetricsOperationObserver.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Cassandra/Observers/Metrics/MetricsOperationObserver.cs b/src/Cassandra/Observers/Metrics/MetricsOperationObserver.cs index 4cf7ddbe0..00befb5b5 100644 --- a/src/Cassandra/Observers/Metrics/MetricsOperationObserver.cs +++ b/src/Cassandra/Observers/Metrics/MetricsOperationObserver.cs @@ -83,7 +83,7 @@ public void OnOperationReceive(IRequestError error, Response response, long time private static void LogError(Exception ex) { - Logger.Warning("An error occured while recording metrics for a connection operation. Exception = {0}", ex.ToString()); + Logger.Warning("An error occurred while recording metrics for a connection operation. Exception = {0}", ex.ToString()); } } } \ No newline at end of file From c6fbf48c77820fff02a7558068d6ffe7cb28ae06 Mon Sep 17 00:00:00 2001 From: SAY-5 Date: Thu, 16 Apr 2026 21:49:47 -0700 Subject: [PATCH 5/9] Fix occured typo in WriteFailureException.cs Signed-off-by: SAY-5 --- src/Cassandra/Exceptions/WriteFailureException.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Cassandra/Exceptions/WriteFailureException.cs b/src/Cassandra/Exceptions/WriteFailureException.cs index 3f0d71483..2c73217ab 100644 --- a/src/Cassandra/Exceptions/WriteFailureException.cs +++ b/src/Cassandra/Exceptions/WriteFailureException.cs @@ -74,7 +74,7 @@ public class WriteFailureException : QueryExecutionException /// 0x0004Some failures (one or more) were reported to the replica "leading" /// a counter write. The actual error didn't occur on the node that sent this failure, it is is simply the /// node reporting it due to how counter writes work; the initial reason for the failure should have been - /// logged on the actual replica on which the problem occured). + /// logged on the actual replica on which the problem occurred). /// 0x0005The table used by the query was not found on at least one of the /// replica. This strongly suggest a query was done on either a newly created or newly dropped table with /// having waited for schema agreement first. From 42860f5c2f8440f0b5e6fee0c5bcb3638974ddcf Mon Sep 17 00:00:00 2001 From: SAY-5 Date: Thu, 16 Apr 2026 21:49:49 -0700 Subject: [PATCH 6/9] Fix occured typo in ReadFailureException.cs Signed-off-by: SAY-5 --- src/Cassandra/Exceptions/ReadFailureException.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Cassandra/Exceptions/ReadFailureException.cs b/src/Cassandra/Exceptions/ReadFailureException.cs index 7c938708b..2952330cc 100644 --- a/src/Cassandra/Exceptions/ReadFailureException.cs +++ b/src/Cassandra/Exceptions/ReadFailureException.cs @@ -67,7 +67,7 @@ public class ReadFailureException : QueryExecutionException /// 0x0004Some failures (one or more) were reported to the replica "leading" /// a counter write. The actual error didn't occur on the node that sent this failure, it is is simply the /// node reporting it due to how counter writes work; the initial reason for the failure should have been - /// logged on the actual replica on which the problem occured). + /// logged on the actual replica on which the problem occurred). /// 0x0005The table used by the query was not found on at least one of the /// replica. This strongly suggest a query was done on either a newly created or newly dropped table with /// having waited for schema agreement first. From dbca0b8769af3f105f2d4e3fd45bfcad7c9801a0 Mon Sep 17 00:00:00 2001 From: SAY-5 Date: Thu, 16 Apr 2026 21:49:51 -0700 Subject: [PATCH 7/9] Fix occured typo in ClusterSimulacronTests.cs Signed-off-by: SAY-5 --- src/Cassandra.IntegrationTests/Core/ClusterSimulacronTests.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Cassandra.IntegrationTests/Core/ClusterSimulacronTests.cs b/src/Cassandra.IntegrationTests/Core/ClusterSimulacronTests.cs index 1cce8e656..ff4dbe4e2 100644 --- a/src/Cassandra.IntegrationTests/Core/ClusterSimulacronTests.cs +++ b/src/Cassandra.IntegrationTests/Core/ClusterSimulacronTests.cs @@ -232,7 +232,7 @@ public void RepeatedClusterConnectCallsAfterTimeoutErrorThrowCachedInitErrorExce " between the client driver instance and the cluster. You can increase this timeout via " + "the SocketOptions.ConnectTimeoutMillis config setting. This can also be related to deadlocks " + "caused by mixing synchronous and asynchronous code."; - var cachedError = "An error occured during the initialization of the cluster instance. Further initialization attempts " + + var cachedError = "An error occurred during the initialization of the cluster instance. Further initialization attempts " + "for this cluster instance will never succeed and will return this exception instead. The InnerException property holds " + "a reference to the exception that originally caused the initialization error."; using (var cluster = CreateClusterAndWaitUntilConnectException( From 7afbb306613f697fa4116711486804695fa1b969 Mon Sep 17 00:00:00 2001 From: SAY-5 Date: Thu, 16 Apr 2026 21:49:53 -0700 Subject: [PATCH 8/9] Fix occured typo in MetricsRequestObserver.cs Signed-off-by: SAY-5 --- src/Cassandra/Observers/Metrics/MetricsRequestObserver.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Cassandra/Observers/Metrics/MetricsRequestObserver.cs b/src/Cassandra/Observers/Metrics/MetricsRequestObserver.cs index 5342f0b4b..e6e2d47cc 100644 --- a/src/Cassandra/Observers/Metrics/MetricsRequestObserver.cs +++ b/src/Cassandra/Observers/Metrics/MetricsRequestObserver.cs @@ -198,7 +198,7 @@ private Task OnRequestFinish(Exception ex, SessionRequestInfo r) private static void LogError(Exception ex) { - Logger.Warning("An error occured while recording metrics for a request. Exception = {0}", ex.ToString()); + Logger.Warning("An error occurred while recording metrics for a request. Exception = {0}", ex.ToString()); } public Task OnNodeStartAsync(SessionRequestInfo sessionRequestInfo, NodeRequestInfo nodeRequestInfo) From 2fdbf7a0b711a7f1c95117378aac8c8fa7145987 Mon Sep 17 00:00:00 2001 From: SAY-5 Date: Thu, 16 Apr 2026 21:49:56 -0700 Subject: [PATCH 9/9] Fix occured typo in MetricsConnectionObserver.cs Signed-off-by: SAY-5 --- src/Cassandra/Observers/Metrics/MetricsConnectionObserver.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Cassandra/Observers/Metrics/MetricsConnectionObserver.cs b/src/Cassandra/Observers/Metrics/MetricsConnectionObserver.cs index 48b9eef87..d087baa8a 100644 --- a/src/Cassandra/Observers/Metrics/MetricsConnectionObserver.cs +++ b/src/Cassandra/Observers/Metrics/MetricsConnectionObserver.cs @@ -88,7 +88,7 @@ public IOperationObserver CreateOperationObserver() private static void LogError(Exception ex) { - Logger.Warning("An error occured while recording metrics for a connection. Exception: {0}", ex.ToString()); + Logger.Warning("An error occurred while recording metrics for a connection. Exception: {0}", ex.ToString()); } } } \ No newline at end of file