tisonkun commented on code in PR #1905: URL: https://github.com/apache/zookeeper/pull/1905#discussion_r923053158
########## zookeeper-server/src/main/java/org/apache/zookeeper/server/ContainerManager.java: ########## @@ -129,8 +128,8 @@ public void checkContainers() throws InterruptedException { for (String containerPath : getCandidates()) { long startMs = Time.currentElapsedTime(); - ByteBuffer path = ByteBuffer.wrap(containerPath.getBytes(UTF_8)); - Request request = new Request(null, 0, 0, ZooDefs.OpCode.deleteContainer, path, null); + DeleteTxn txn = new DeleteTxn(containerPath); + Request request = new Request(null, 0, 0, ZooDefs.OpCode.deleteContainer, RequestRecord.fromRecord(txn), null); Review Comment: Reverted at a3ca9c41cbfc50ad08473c62ca3bfb2070de9269 -- 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: notifications-unsubscr...@zookeeper.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org