Repository navigation
Problem with Redis after upgrade to 3.40.1.1 #57791
|
After upgrading to latest version a process that works flawlessy stop to work with this error: the problem is in |
Replies: 4 comments 5 replies
|
/cc @Ladicek (redis), @cescoffier (redis), @machi1990 (redis) |
|
Yes, this is vert-x3/vertx-redis-client#590, fix is in progress |
|
you can raise the limit in 3.40.1.1 with import jakarta.enterprise.context.ApplicationScoped;
import io.quarkus.redis.client.RedisOptionsCustomizer;
import io.vertx.redis.client.RedisOptions;
@ApplicationScoped
public class RedisLengthWorkaround implements RedisOptionsCustomizer {
@Override
public void customize(String clientName, RedisOptions options) {
if ("<default>".equals(clientName)) {
options.setMaxMultiLength(512 * 1024);
}
}
}
the bug also limits bulk strings in bytes, so the error doesn't necessarily mean 264431 elements. raising this also loosens the multi-bulk element limit, which is why i'd keep it bounded |
|
After upgrading to Quarkus 3.40.1.1, we encountered production failures when reading and replacing large cached strings. We reproduced the issue in controlled testing: with maxMultiLength=128, a 128-byte string succeeded, while a 129-byte string failed with “Redis Multi length 129 exceeds the configured maxMultiLength 128.” |
Yes, this is vert-x3/vertx-redis-client#590, fix is in progress