szetszwo commented on code in PR #977:
URL: https://github.com/apache/ratis/pull/977#discussion_r1413184512
##########
ratis-client/src/main/java/org/apache/ratis/client/RaftClientConfigKeys.java:
##########
@@ -117,7 +117,7 @@ static void setFlushRequestCountMin(RaftProperties
properties, int flushRequestC
String FLUSH_REQUEST_BYTES_MIN_KEY = PREFIX + ".flush.request.bytes.min";
SizeInBytes FLUSH_REQUEST_BYTES_MIN_DEFAULT = SizeInBytes.ONE_MB;
static SizeInBytes flushRequestBytesMin(RaftProperties properties) {
- return getSizeInBytes(properties::getSizeInBytes,
FLUSH_REQUEST_COUNT_MIN_KEY,
+ return getSizeInBytes(properties::getSizeInBytes,
FLUSH_REQUEST_BYTES_MIN_KEY,
Review Comment:
RATIS-1157 was to buffer the small requests but this bug made it never
working.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]