pivotal-jbarrett commented on a change in pull request #7083:
URL: https://github.com/apache/geode/pull/7083#discussion_r759594221
##########
File path:
geode-wan/src/main/java/org/apache/geode/cache/wan/internal/GatewaySenderFactoryImpl.java
##########
@@ -256,7 +257,13 @@ public GatewaySenderFactory
setEnforceThreadsConnectSameReceiver(
static void validate(final @NotNull InternalCache cache,
final @NotNull GatewaySenderAttributesImpl attributes) {
- final int myDSId = cache.getDistributionManager().getDistributedSystemId();
+ int myDSId;
+ if (cache instanceof CacheCreation) {
Review comment:
Maybe `CacheCreation` should be fixed to behave like any other
`InternalCache` rather than making consumer know subtile differences in
behavior.
--
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]