Marcosrico commented on code in PR #2619:
URL: https://github.com/apache/helix/pull/2619#discussion_r1337828933
##########
meta-client/src/main/java/org/apache/helix/metaclient/impl/zk/ZkMetaClientCache.java:
##########
@@ -106,26 +103,56 @@ public int countDirectChildren(final String key) {
throw new MetaClientException("Not implemented yet.");
}
+ private void populateAllCache() {
+ if (_cacheData) {
+ try {
+ List<String> children = _cacheClient.getChildren(_rootEntry);
+ for (String child : children) {
+ String childPath = _rootEntry + "/" + child;
+ T dataRecord = _cacheClient.readData(childPath, true);
Review Comment:
Batch read isn't supported in super class at the moment
--
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]