nodece commented on a change in pull request #13809:
URL: https://github.com/apache/pulsar/pull/13809#discussion_r787431293
##########
File path:
pulsar-metadata/src/main/java/org/apache/pulsar/metadata/impl/ZKMetadataStore.java
##########
@@ -352,42 +348,38 @@ private void internalStorePut(OpPut opPut) {
CreateMode createMode = getCreateMode(opPut.getOptions());
asyncCreateFullPathOptimistic(zkc, opPut.getPath(),
opPut.getData(), createMode,
(rc, path1, ctx, name) -> {
- execute(() -> {
Review comment:
Use the execute is unnecessary, the executor is only used to execute
flush, or add the request to the queue in zk callback.
--
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]