Cpaulyz commented on code in PR #11546:
URL: https://github.com/apache/iotdb/pull/11546#discussion_r1393823350
##########
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/schemaengine/schemaregion/mtree/IMTreeStore.java:
##########
@@ -73,7 +74,7 @@ IMNodeIterator<N> getTraverserIterator(
void deleteChild(N parent, String childName) throws MetadataException;
- void updateMNode(N node) throws MetadataException;
+ void updateMNode(N node, Consumer<N> consumer) throws MetadataException;
Review Comment:
```suggestion
/**
* Update the mnode under the guarantee of latch.
*
* @param node node to be updated
* @updation update operation
*/
void updateMNode(N node, Consumer<N> updation) throws MetadataException;
```
--
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]