wardlican commented on code in PR #3950:
URL: https://github.com/apache/amoro/pull/3950#discussion_r3009129066
##########
amoro-ams/src/main/java/org/apache/amoro/server/DBBucketAssignStore.java:
##########
@@ -180,6 +180,25 @@ public void updateLastUpdateTime(AmsServerInfo nodeInfo)
throws BucketAssignStor
}
}
+ @Override
+ public List<AmsServerInfo> getAliveNodes() throws BucketAssignStoreException
{
+ try {
+ List<BucketAssignmentMeta> rows =
+ getAs(BucketAssignMapper.class, mapper ->
mapper.selectAllByCluster(clusterName));
Review Comment:
There is indeed a window-period issue here; I'll optimize it.
--
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]