wangx0502 commented on code in PR #18603:
URL: https://github.com/apache/iotdb/pull/18603#discussion_r4052110298
##########
iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/consensus/request/ConfigPhysicalPlan.java:
##########
@@ -189,6 +194,13 @@ public int getSerializedSize() throws IOException {
public static class Factory {
+ /**
+ * Deserializes a plan from the buffer using the encoded type
discriminator.
+ *
+ * @param buffer the buffer containing one serialized plan
+ * @return the deserialized plan
+ * @throws IOException if the encoded plan type or payload cannot be read
Review Comment:
Addressed in commit 36cc1b3ac4.
Updated the documentation to match the actual implementation.
--
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]