]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
cassandra: Clarify the minimum responses needed log message
authorTimo Sirainen <timo.sirainen@open-xchange.com>
Wed, 25 Oct 2023 17:54:15 +0000 (20:54 +0300)
committerTimo Sirainen <timo.sirainen@open-xchange.com>
Wed, 25 Oct 2023 17:54:15 +0000 (20:54 +0300)
With "n/m responses received" it looks as if "m" is the total number of
responses that could be received. Using "n of minimum m responses received"
should be clearer.

src/lib-sql/driver-cassandra.c

index 7687eccb74cdc80c4dc5bbacde10f3869699a838..20d6266ad96dd6006830c270b50ab44bc85dc232 100644 (file)
@@ -1403,7 +1403,7 @@ get_consistency_error(struct cassandra_result *result,
                cass_error_result_consistency(error_result);
 
        string_t *str = t_str_new(128);
-       str_printfa(str, ", %s consistency, %u/%u responses received",
+       str_printfa(str, ", %s consistency, %u of minimum %u responses received",
                    cass_consistency_string(consistency),
                    cass_error_result_responses_received(error_result),
                    cass_error_result_responses_required(error_result));