From: Timo Sirainen Date: Wed, 25 Oct 2023 17:54:15 +0000 (+0300) Subject: cassandra: Clarify the minimum responses needed log message X-Git-Tag: 2.4.0~2483 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=31b4f54a9461da6c0e7e1d56a13b2c2b11630c71;p=thirdparty%2Fdovecot%2Fcore.git cassandra: Clarify the minimum responses needed log message 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. --- diff --git a/src/lib-sql/driver-cassandra.c b/src/lib-sql/driver-cassandra.c index 7687eccb74..20d6266ad9 100644 --- a/src/lib-sql/driver-cassandra.c +++ b/src/lib-sql/driver-cassandra.c @@ -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));