jacoblukose commented on code in PR #2930:
URL: https://github.com/apache/helix/pull/2930#discussion_r1847757061
##########
helix-core/src/main/java/org/apache/helix/manager/zk/ZkBucketDataAccessor.java:
##########
@@ -156,10 +165,9 @@ public <T extends HelixProperty> boolean
compressedBucketWrite(String rootPath,
lastWriteVersion++;
return String.valueOf(lastWriteVersion).getBytes();
};
-
// 1. Increment lastWriteVersion using DataUpdater
ZkBaseDataAccessor.AccessResult result = _zkBaseDataAccessor.doUpdate(
- rootPath + "/" + LAST_WRITE_KEY, lastWriteVersionUpdater,
AccessOption.PERSISTENT);
Review Comment:
based on how pr dicussion concludes, we might need to use explicit create
for first time and then update calls from second time onwards.
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]