wuchong commented on code in PR #1573:
URL: https://github.com/apache/fluss/pull/1573#discussion_r2296589087
##########
fluss-server/src/main/java/com/alibaba/fluss/server/replica/ReplicaManager.java:
##########
@@ -1499,8 +1499,12 @@ public Replica getReplicaOrException(TableBucket
tableBucket) {
HostedReplica replica = getReplica(tableBucket);
if (replica instanceof OnlineReplica) {
return ((OnlineReplica) replica).getReplica();
+ } else if (replica instanceof OfflineReplica) {
+ throw new StorageException(tableBucket + " is offline");
Review Comment:
```suggestion
throw new StorageException(tableBucket + " is offline on server
" + serverId);
```
Add server id information?
--
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]