From 2f69214234281366ee244f4b81a87963263d759a Mon Sep 17 00:00:00 2001 From: Igor Melnichenko Date: Sat, 26 Oct 2024 20:13:32 +0300 Subject: [PATCH] Comment fix --- topic/src/main/java/tech/ydb/topic/write/impl/WriterImpl.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/topic/src/main/java/tech/ydb/topic/write/impl/WriterImpl.java b/topic/src/main/java/tech/ydb/topic/write/impl/WriterImpl.java index ab3cd2c7..74eb6841 100644 --- a/topic/src/main/java/tech/ydb/topic/write/impl/WriterImpl.java +++ b/topic/src/main/java/tech/ydb/topic/write/impl/WriterImpl.java @@ -191,8 +191,7 @@ private void encode(EnqueuedMessage message) { private void moveEncodedMessagesToSendingQueue() { boolean haveNewMessagesToSend = false; - // Working with encodingMessages under synchronized incomingQueue to prevent deadlocks - // while working with free method + // Working with encodingMessages under incomingQueueLock to prevent deadlocks while working with free method incomingQueueLock.lock(); try {