Github user jdanekrh commented on a diff in the pull request:
https://github.com/apache/activemq-artemis/pull/2080#discussion_r187450038
--- Diff:
artemis-server/src/main/java/org/apache/activemq/artemis/core/server/impl/ActiveMQServerImpl.java
---
@@ -946,7 +946,7 @@ public boolean isReplicaSync() {
} else if (activation instanceof SharedNothingBackupActivation) {
return ((SharedNothingBackupActivation)
activation).isRemoteBackupUpToDate();
} else {
- throw ActiveMQMessageBundle.BUNDLE.methodNotApplicable();
--- End diff --
Isn't this the only place where this error message was generated? If so,
then it may be also deleted at
https://github.com/apache/activemq-artemis/blob/e5ef7d37ae255b9ed478bc4b45586cf8a179b18b/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/ActiveMQMessageBundle.java#L383-L384
---