tkalkirill commented on code in PR #6237:
URL: https://github.com/apache/ignite-3/pull/6237#discussion_r2203921216
##########
modules/raft/src/main/java/org/apache/ignite/raft/jraft/option/NodeOptions.java:
##########
@@ -301,6 +303,14 @@ public class NodeOptions extends RpcOptions implements
Copiable<NodeOptions> {
*/
private boolean isSystemGroup = false;
+ /**
+ * Shared pool of {@link ByteBufferCollector} for sending log entries for
replication.
+ *
+ * <p>Used to prevent a large number of {@link ByteBufferCollector} from
being accumulated across all threads that are involved in
+ * sending log entries, see {@link
ByteBufferCollector#allocateByRecyclers}.</p>
+ */
+ private ByteBufferCollectorPool appendEntriesByteBufferCollectorPool;
Review Comment:
Yes, I think it will be more convenient.
--
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]