jdeppe-pivotal commented on a change in pull request #6686:
URL: https://github.com/apache/geode/pull/6686#discussion_r672601801
##########
File path:
geode-apis-compatible-with-redis/src/commonTest/java/org/apache/geode/redis/GeodeRedisServerRule.java
##########
@@ -49,6 +49,12 @@ protected void before() {
cache = cacheFactory.create();
server = new GeodeRedisServer("localhost", 0, (InternalCache) cache);
server.setAllowUnsupportedCommands(enableUnsupportedCommands);
+
+ // Ensure that buckets are created up front
+ try {
Review comment:
Regarding the error case where the member info cannot be retrieved -
that would result in a 'non-existent' slot (or range of slots) at which point
any clients should produce some kind of error if they were trying to write to a
missing slot.
Regarding pulling this into `GeodeRedisServer` - are you thinking it should
run as part of startup? If so, I'd be wary of that since it would create a
bucket imbalance unless we also did a rebalance as part of that lifecycle. As
it is, any cluster-aware client will always retrieve the topology as the first
thing it does which would implicitly create the buckets. It's still a problem
if all members are not up before the very first client starts to connect.
--
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]