This is with com.couchbase.client:java-client:3.3.3:
2022-09-27 06:41:18.166 WARN 7587 --- [ cb-events] com.couchbase.core : [com.couchbase.core][ReconfigurationErrorDetectedEvent] Reconfiguration attempt failed because of: java.lang.NullPointerException {"alternateIdentifier":"external","coreId":"0x5fa288ab00000001"}
java.lang.NullPointerException: null
at com.couchbase.client.core.Core.lambda$reconfigureGlobal$39(Core.java:745) ~[core-io-2.3.3.jar:na]
Scenario is access to a cluster with four nodes, only three of them have an external alternate interface defined. The fourth node is not supposed to serve any client (just the “backup” service running).
Code inspection gives that there is the assumption if one node has an external alternate address defined, then every node has it defined. Which isn’t a valid assumption.