redis / lettucemod

Java client for Redis Modules
Apache License 2.0
49 stars 18 forks source link

FT.CREATE failed with MOVED error on Redis Cluster with RediSearch #35

Open Wyclef opened 1 year ago

Wyclef commented 1 year ago

I've been trying to create an index on our Redis Cluster (6 nodes) with the following code but FT.CREATE keeps failing with a MOVED error (included below the code). Despite the failure, the index was created on the cluster which I can check with FT.INFO idx.

Please help me see what I'm doing wrong.

lettucemod:

<dependency>
    <groupId>com.redis</groupId>
    <artifactId>spring-lettucemod</artifactId>
    <version>3.3.2</version>
</dependency>

Redis: 7.0.8 Redis Modules:

name
graph
ver
21008
path
/usr/lib/redis/modules/redisgraph.so
args
name
timeseries
ver
10805
path
/usr/lib/redis/modules/redistimeseries.so
args
name
search
ver
20605
path
/usr/lib/redis/modules/redisearch.so
args
name
ReJSON
ver
20404
path
/usr/lib/redis/modules/rejson.so
args
name
bf
ver
20404
path
/usr/lib/redis/modules/redisbloom.so
args

My code:

public static void cluster() throws Exception {    
    List<RedisURI> uris = Arrays.asList(RedisURI.Builder.redis("172.22.178.30", 6379).withPassword("*******".toCharArray()).build(),
                            RedisURI.Builder.redis("172.22.178.31", 6379).withPassword("*******".toCharArray()).build(),
                            RedisURI.Builder.redis("172.22.178.32", 6379).withPassword("*******".toCharArray()).build(),
                            RedisURI.Builder.redis("172.22.178.33", 6379).withPassword("*******".toCharArray()).build(),
                            RedisURI.Builder.redis("172.22.178.34", 6379).withPassword("*******".toCharArray()).build(),
                            RedisURI.Builder.redis("172.22.178.35", 6379).withPassword("*******".toCharArray()).build());

    RedisModulesClusterClient client = RedisModulesClusterClient.create(uris);

    StatefulRedisModulesClusterConnection<String, String> connection = client.connect();

    RedisModulesAdvancedClusterCommands<String, String> commands = connection.sync();

    Builder<String, String> builder = new Builder<String, String>();
    builder.on(DataType.HASH);
    builder.prefix("doc");

    // This command throws an exception although the index is created.
    commands.ftCreate("idx", builder.build(), Field.text("name").build(), Field.text("age").build(), Field.text("gender").build());

    commands.hmset("doc:1{idx}", Map.of("name", "John", "age", "37", "gender", "male"));
    commands.hmset("doc:2{idx}", Map.of("name", "David", "age", "32", "gender", "male"));
    commands.hmset("doc:3{idx}", Map.of("name", "Lucy", "age", "31", "gender", "female"));
}

The error:

21:26:24.956 [lettuce-eventExecutorLoop-1-2] DEBUG io.lettuce.core.RedisChannelHandler - closeAsync()
21:26:24.957 [lettuce-eventExecutorLoop-1-2] DEBUG io.lettuce.core.cluster.ClusterNodeEndpoint - [channel=0xab5b7410, /10.83.129.70:57329 -> /172.22.178.30:6379, epid=0x1] closeAsync()
21:26:24.957 [lettuce-eventExecutorLoop-1-2] DEBUG io.lettuce.core.protocol.DefaultEndpoint - [channel=0xab5b7410, /10.83.129.70:57329 -> /172.22.178.30:6379, epid=0x1] closeAsync()
21:26:24.958 [lettuce-eventExecutorLoop-1-2] DEBUG io.lettuce.core.RedisChannelHandler - closeAsync()
21:26:24.958 [lettuce-eventExecutorLoop-1-2] DEBUG io.lettuce.core.cluster.ClusterNodeEndpoint - [channel=0xc61b3626, /10.83.129.70:57330 -> /172.22.178.31:6379, epid=0x2] closeAsync()
21:26:24.958 [lettuce-eventExecutorLoop-1-2] DEBUG io.lettuce.core.protocol.DefaultEndpoint - [channel=0xc61b3626, /10.83.129.70:57330 -> /172.22.178.31:6379, epid=0x2] closeAsync()
21:26:24.958 [lettuce-eventExecutorLoop-1-2] DEBUG io.lettuce.core.RedisChannelHandler - closeAsync()
21:26:24.958 [lettuce-eventExecutorLoop-1-2] DEBUG io.lettuce.core.cluster.ClusterNodeEndpoint - [channel=0xbdc5f42f, /10.83.129.70:57331 -> /172.22.178.32:6379, epid=0x3] closeAsync()
21:26:24.958 [lettuce-eventExecutorLoop-1-2] DEBUG io.lettuce.core.protocol.DefaultEndpoint - [channel=0xbdc5f42f, /10.83.129.70:57331 -> /172.22.178.32:6379, epid=0x3] closeAsync()
21:26:24.958 [lettuce-eventExecutorLoop-1-2] DEBUG io.lettuce.core.RedisChannelHandler - closeAsync()
21:26:24.958 [lettuce-eventExecutorLoop-1-2] DEBUG io.lettuce.core.cluster.ClusterNodeEndpoint - [channel=0x6aa62b87, /10.83.129.70:57332 -> /172.22.178.33:6379, epid=0x4] closeAsync()
21:26:24.958 [lettuce-eventExecutorLoop-1-2] DEBUG io.lettuce.core.protocol.DefaultEndpoint - [channel=0x6aa62b87, /10.83.129.70:57332 -> /172.22.178.33:6379, epid=0x4] closeAsync()
21:26:24.958 [lettuce-eventExecutorLoop-1-2] DEBUG io.lettuce.core.RedisChannelHandler - closeAsync()
21:26:24.958 [lettuce-eventExecutorLoop-1-2] DEBUG io.lettuce.core.cluster.ClusterNodeEndpoint - [channel=0x1743b622, /10.83.129.70:57333 -> /172.22.178.34:6379, epid=0x5] closeAsync()
21:26:24.958 [lettuce-eventExecutorLoop-1-2] DEBUG io.lettuce.core.protocol.DefaultEndpoint - [channel=0x1743b622, /10.83.129.70:57333 -> /172.22.178.34:6379, epid=0x5] closeAsync()
21:26:24.958 [lettuce-eventExecutorLoop-1-2] DEBUG io.lettuce.core.RedisChannelHandler - closeAsync()
21:26:24.958 [lettuce-eventExecutorLoop-1-2] DEBUG io.lettuce.core.cluster.ClusterNodeEndpoint - [channel=0x92db8a16, /10.83.129.70:57334 -> /172.22.178.35:6379, epid=0x6] closeAsync()
21:26:24.958 [lettuce-eventExecutorLoop-1-2] DEBUG io.lettuce.core.protocol.DefaultEndpoint - [channel=0x92db8a16, /10.83.129.70:57334 -> /172.22.178.35:6379, epid=0x6] closeAsync()
21:26:24.959 [lettuce-nioEventLoop-4-1] DEBUG io.lettuce.core.protocol.CommandHandler - [channel=0xab5b7410, /10.83.129.70:57329 -> /172.22.178.30:6379, epid=0x1, chid=0x1] channelInactive()
21:26:24.959 [lettuce-nioEventLoop-4-4] DEBUG io.lettuce.core.protocol.CommandHandler - [channel=0x6aa62b87, /10.83.129.70:57332 -> /172.22.178.33:6379, epid=0x4, chid=0x4] channelInactive()
21:26:24.959 [lettuce-nioEventLoop-4-2] DEBUG io.lettuce.core.protocol.CommandHandler - [channel=0xc61b3626, /10.83.129.70:57330 -> /172.22.178.31:6379, epid=0x2, chid=0x2] channelInactive()
21:26:24.959 [lettuce-nioEventLoop-4-6] DEBUG io.lettuce.core.protocol.CommandHandler - [channel=0x92db8a16, /10.83.129.70:57334 -> /172.22.178.35:6379, epid=0x6, chid=0x6] channelInactive()
21:26:24.959 [lettuce-nioEventLoop-4-3] DEBUG io.lettuce.core.protocol.CommandHandler - [channel=0xbdc5f42f, /10.83.129.70:57331 -> /172.22.178.32:6379, epid=0x3, chid=0x3] channelInactive()
21:26:24.960 [lettuce-nioEventLoop-4-6] DEBUG io.lettuce.core.protocol.DefaultEndpoint - [channel=0x92db8a16, /10.83.129.70:57334 -> /172.22.178.35:6379, epid=0x6] deactivating endpoint handler
21:26:24.960 [lettuce-nioEventLoop-4-3] DEBUG io.lettuce.core.protocol.DefaultEndpoint - [channel=0xbdc5f42f, /10.83.129.70:57331 -> /172.22.178.32:6379, epid=0x3] deactivating endpoint handler
21:26:24.960 [lettuce-nioEventLoop-4-1] DEBUG io.lettuce.core.protocol.DefaultEndpoint - [channel=0xab5b7410, /10.83.129.70:57329 -> /172.22.178.30:6379, epid=0x1] deactivating endpoint handler
21:26:24.960 [lettuce-nioEventLoop-4-4] DEBUG io.lettuce.core.protocol.DefaultEndpoint - [channel=0x6aa62b87, /10.83.129.70:57332 -> /172.22.178.33:6379, epid=0x4] deactivating endpoint handler
21:26:24.960 [lettuce-nioEventLoop-4-2] DEBUG io.lettuce.core.protocol.DefaultEndpoint - [channel=0xc61b3626, /10.83.129.70:57330 -> /172.22.178.31:6379, epid=0x2] deactivating endpoint handler
21:26:24.960 [lettuce-nioEventLoop-4-5] DEBUG io.lettuce.core.protocol.CommandHandler - [channel=0x1743b622, /10.83.129.70:57333 -> /172.22.178.34:6379, epid=0x5, chid=0x5] channelInactive()
21:26:24.960 [main] DEBUG io.lettuce.core.cluster.RedisClusterClient - connectCluster([redis://****************@172.22.178.30])
21:26:24.960 [lettuce-nioEventLoop-4-5] DEBUG io.lettuce.core.protocol.DefaultEndpoint - [channel=0x1743b622, /10.83.129.70:57333 -> /172.22.178.34:6379, epid=0x5] deactivating endpoint handler
21:26:24.960 [lettuce-nioEventLoop-4-3] DEBUG io.lettuce.core.protocol.CommandHandler - [channel=0xbdc5f42f, /10.83.129.70:57331 -> /172.22.178.32:6379, epid=0x3, chid=0x3] channelInactive() done
21:26:24.960 [lettuce-nioEventLoop-4-5] DEBUG io.lettuce.core.protocol.CommandHandler - [channel=0x1743b622, /10.83.129.70:57333 -> /172.22.178.34:6379, epid=0x5, chid=0x5] channelInactive() done
21:26:24.960 [lettuce-nioEventLoop-4-6] DEBUG io.lettuce.core.protocol.CommandHandler - [channel=0x92db8a16, /10.83.129.70:57334 -> /172.22.178.35:6379, epid=0x6, chid=0x6] channelInactive() done
21:26:24.960 [lettuce-nioEventLoop-4-2] DEBUG io.lettuce.core.protocol.CommandHandler - [channel=0xc61b3626, /10.83.129.70:57330 -> /172.22.178.31:6379, epid=0x2, chid=0x2] channelInactive() done
21:26:24.960 [lettuce-nioEventLoop-4-1] DEBUG io.lettuce.core.protocol.CommandHandler - [channel=0xab5b7410, /10.83.129.70:57329 -> /172.22.178.30:6379, epid=0x1, chid=0x1] channelInactive() done
21:26:24.960 [lettuce-nioEventLoop-4-4] DEBUG io.lettuce.core.protocol.CommandHandler - [channel=0x6aa62b87, /10.83.129.70:57332 -> /172.22.178.33:6379, epid=0x4, chid=0x4] channelInactive() done
21:26:24.961 [lettuce-nioEventLoop-4-3] DEBUG io.lettuce.core.protocol.ConnectionWatchdog - [channel=0xbdc5f42f, /10.83.129.70:57331 -> /172.22.178.32:6379, last known addr=/172.22.178.32:6379] channelInactive()
21:26:24.961 [lettuce-nioEventLoop-4-6] DEBUG io.lettuce.core.protocol.ConnectionWatchdog - [channel=0x92db8a16, /10.83.129.70:57334 -> /172.22.178.35:6379, last known addr=/172.22.178.35:6379] channelInactive()
21:26:24.961 [lettuce-nioEventLoop-4-5] DEBUG io.lettuce.core.protocol.ConnectionWatchdog - [channel=0x1743b622, /10.83.129.70:57333 -> /172.22.178.34:6379, last known addr=/172.22.178.34:6379] channelInactive()
21:26:24.961 [lettuce-nioEventLoop-4-2] DEBUG io.lettuce.core.protocol.ConnectionWatchdog - [channel=0xc61b3626, /10.83.129.70:57330 -> /172.22.178.31:6379, last known addr=/172.22.178.31:6379] channelInactive()
21:26:24.961 [lettuce-nioEventLoop-4-3] DEBUG io.lettuce.core.protocol.ConnectionWatchdog - [channel=0xbdc5f42f, /10.83.129.70:57331 -> /172.22.178.32:6379, last known addr=/172.22.178.32:6379] Reconnect scheduling disabled
21:26:24.961 [lettuce-nioEventLoop-4-5] DEBUG io.lettuce.core.protocol.ConnectionWatchdog - [channel=0x1743b622, /10.83.129.70:57333 -> /172.22.178.34:6379, last known addr=/172.22.178.34:6379] Reconnect scheduling disabled
21:26:24.961 [lettuce-nioEventLoop-4-1] DEBUG io.lettuce.core.protocol.ConnectionWatchdog - [channel=0xab5b7410, /10.83.129.70:57329 -> /172.22.178.30:6379, last known addr=/172.22.178.30:6379] channelInactive()
21:26:24.961 [lettuce-nioEventLoop-4-3] DEBUG io.lettuce.core.protocol.CommandHandler - [channel=0xbdc5f42f, /10.83.129.70:57331 -> /172.22.178.32:6379, epid=0x3, chid=0x3] channelUnregistered()
21:26:24.961 [lettuce-nioEventLoop-4-5] DEBUG io.lettuce.core.protocol.CommandHandler - [channel=0x1743b622, /10.83.129.70:57333 -> /172.22.178.34:6379, epid=0x5, chid=0x5] channelUnregistered()
21:26:24.961 [lettuce-nioEventLoop-4-1] DEBUG io.lettuce.core.protocol.ConnectionWatchdog - [channel=0xab5b7410, /10.83.129.70:57329 -> /172.22.178.30:6379, last known addr=/172.22.178.30:6379] Reconnect scheduling disabled
21:26:24.961 [lettuce-nioEventLoop-4-1] DEBUG io.lettuce.core.protocol.CommandHandler - [channel=0xab5b7410, /10.83.129.70:57329 -> /172.22.178.30:6379, epid=0x1, chid=0x1] channelUnregistered()
21:26:24.961 [lettuce-nioEventLoop-4-4] DEBUG io.lettuce.core.protocol.ConnectionWatchdog - [channel=0x6aa62b87, /10.83.129.70:57332 -> /172.22.178.33:6379, last known addr=/172.22.178.33:6379] channelInactive()
21:26:24.961 [lettuce-nioEventLoop-4-4] DEBUG io.lettuce.core.protocol.ConnectionWatchdog - [channel=0x6aa62b87, /10.83.129.70:57332 -> /172.22.178.33:6379, last known addr=/172.22.178.33:6379] Reconnect scheduling disabled
21:26:24.961 [lettuce-nioEventLoop-4-4] DEBUG io.lettuce.core.protocol.CommandHandler - [channel=0x6aa62b87, /10.83.129.70:57332 -> /172.22.178.33:6379, epid=0x4, chid=0x4] channelUnregistered()
21:26:24.961 [lettuce-nioEventLoop-4-2] DEBUG io.lettuce.core.protocol.ConnectionWatchdog - [channel=0xc61b3626, /10.83.129.70:57330 -> /172.22.178.31:6379, last known addr=/172.22.178.31:6379] Reconnect scheduling disabled
21:26:24.961 [lettuce-nioEventLoop-4-2] DEBUG io.lettuce.core.protocol.CommandHandler - [channel=0xc61b3626, /10.83.129.70:57330 -> /172.22.178.31:6379, epid=0x2, chid=0x2] channelUnregistered()
21:26:24.961 [lettuce-nioEventLoop-4-6] DEBUG io.lettuce.core.protocol.ConnectionWatchdog - [channel=0x92db8a16, /10.83.129.70:57334 -> /172.22.178.35:6379, last known addr=/172.22.178.35:6379] Reconnect scheduling disabled
21:26:24.961 [lettuce-nioEventLoop-4-6] DEBUG io.lettuce.core.protocol.CommandHandler - [channel=0x92db8a16, /10.83.129.70:57334 -> /172.22.178.35:6379, epid=0x6, chid=0x6] channelUnregistered()
21:26:25.021 [main] DEBUG io.lettuce.core.cluster.RoundRobinSocketAddressSupplier - Resolved SocketAddress 172.22.178.35/<unresolved>:6379 using for Cluster node 616544614cbe7f44802ac9dbbded5c6ea1221ba6
21:26:25.021 [main] DEBUG io.lettuce.core.AbstractRedisClient - Connecting to Redis at 172.22.178.35/<unresolved>:6379
21:26:25.022 [lettuce-nioEventLoop-4-7] DEBUG io.lettuce.core.protocol.CommandHandler - [channel=0x98eaba71, [id: 0x9b41032f] (inactive), epid=0x7, chid=0x7] channelRegistered()
21:26:25.086 [lettuce-nioEventLoop-4-7] DEBUG io.lettuce.core.protocol.CommandHandler - [channel=0x98eaba71, /10.83.129.70:57335 -> /172.22.178.35:6379, epid=0x7, chid=0x7] write(ctx, AsyncCommand [type=HELLO, output=GenericMapOutput [output=null, error='null'], commandType=io.lettuce.core.protocol.Command], promise)
21:26:25.086 [lettuce-nioEventLoop-4-7] DEBUG io.lettuce.core.protocol.CommandEncoder - [channel=0x98eaba71, /10.83.129.70:57335 -> /172.22.178.35:6379] writing command AsyncCommand [type=HELLO, output=GenericMapOutput [output=null, error='null'], commandType=io.lettuce.core.protocol.Command]
21:26:25.150 [lettuce-nioEventLoop-4-7] DEBUG io.lettuce.core.protocol.CommandHandler - [channel=0x98eaba71, /10.83.129.70:57335 -> /172.22.178.35:6379, epid=0x7, chid=0x7] Received: 697 bytes, 1 commands in the stack
21:26:25.150 [lettuce-nioEventLoop-4-7] DEBUG io.lettuce.core.protocol.CommandHandler - [channel=0x98eaba71, /10.83.129.70:57335 -> /172.22.178.35:6379, epid=0x7, chid=0x7] Stack contains: 1 commands
21:26:25.150 [lettuce-nioEventLoop-4-7] DEBUG io.lettuce.core.protocol.RedisStateMachine - Decode done, empty stack: true
21:26:25.150 [lettuce-nioEventLoop-4-7] DEBUG io.lettuce.core.protocol.CommandHandler - [channel=0x98eaba71, /10.83.129.70:57335 -> /172.22.178.35:6379, epid=0x7, chid=0x7] Completing command AsyncCommand [type=HELLO, output=GenericMapOutput [output={server=redis, version=7.0.8, proto=3, id=114111, mode=cluster, role=replica, modules=name, search=ver, 20605=path, /usr/lib/redis/modules/redisearch.so=args, name=ReJSON, ver=20404, path=/usr/lib/redis/modules/rejson.so, args=name, graph=ver, 21008=path, /usr/lib/redis/modules/redisgraph.so=args, bf=ver, 20404=path, /usr/lib/redis/modules/redisbloom.so=args}, error='null'], commandType=io.lettuce.core.protocol.Command]
21:26:25.150 [lettuce-nioEventLoop-4-7] DEBUG io.lettuce.core.protocol.CommandHandler - [channel=0x98eaba71, /10.83.129.70:57335 -> /172.22.178.35:6379, epid=0x7, chid=0x7] channelActive()
21:26:25.150 [lettuce-nioEventLoop-4-7] DEBUG io.lettuce.core.protocol.DefaultEndpoint - [channel=0x98eaba71, /10.83.129.70:57335 -> /172.22.178.35:6379, epid=0x7] activateEndpointAndExecuteBufferedCommands 0 command(s) buffered
21:26:25.150 [lettuce-nioEventLoop-4-7] DEBUG io.lettuce.core.protocol.DefaultEndpoint - [channel=0x98eaba71, /10.83.129.70:57335 -> /172.22.178.35:6379, epid=0x7] activating endpoint
21:26:25.150 [lettuce-nioEventLoop-4-7] DEBUG io.lettuce.core.RedisChannelHandler - dispatching command AsyncCommand [type=CLUSTER, output=StatusOutput [output=null, error='null'], commandType=io.lettuce.core.protocol.Command]
21:26:25.151 [lettuce-nioEventLoop-4-7] DEBUG io.lettuce.core.protocol.DefaultEndpoint - [channel=0x98eaba71, /10.83.129.70:57335 -> /172.22.178.35:6379, epid=0x7] write() writeAndFlush command ActivationCommand [type=CLUSTER, output=StatusOutput [output=null, error='null'], commandType=io.lettuce.core.cluster.ClusterCommand]
21:26:25.151 [lettuce-nioEventLoop-4-7] DEBUG io.lettuce.core.protocol.CommandHandler - [channel=0x98eaba71, /10.83.129.70:57335 -> /172.22.178.35:6379, epid=0x7, chid=0x7] write(ctx, ActivationCommand [type=CLUSTER, output=StatusOutput [output=null, error='null'], commandType=io.lettuce.core.cluster.ClusterCommand], promise)
21:26:25.151 [lettuce-nioEventLoop-4-7] DEBUG io.lettuce.core.protocol.CommandEncoder - [channel=0x98eaba71, /10.83.129.70:57335 -> /172.22.178.35:6379] writing command ActivationCommand [type=CLUSTER, output=StatusOutput [output=null, error='null'], commandType=io.lettuce.core.cluster.ClusterCommand]
21:26:25.152 [lettuce-nioEventLoop-4-7] DEBUG io.lettuce.core.protocol.DefaultEndpoint - [channel=0x98eaba71, /10.83.129.70:57335 -> /172.22.178.35:6379, epid=0x7] write() done
21:26:25.152 [lettuce-nioEventLoop-4-7] DEBUG io.lettuce.core.protocol.DefaultEndpoint - [channel=0x98eaba71, /10.83.129.70:57335 -> /172.22.178.35:6379, epid=0x7] flushCommands()
21:26:25.152 [lettuce-nioEventLoop-4-7] DEBUG io.lettuce.core.protocol.DefaultEndpoint - [channel=0x98eaba71, /10.83.129.70:57335 -> /172.22.178.35:6379, epid=0x7] flushCommands() Flushing 0 commands
21:26:25.152 [lettuce-nioEventLoop-4-7] DEBUG io.lettuce.core.protocol.ConnectionWatchdog - [channel=0x98eaba71, /10.83.129.70:57335 -> /172.22.178.35:6379, last known addr=/172.22.178.35:6379] channelActive()
21:26:25.152 [lettuce-nioEventLoop-4-7] DEBUG io.lettuce.core.protocol.CommandHandler - [channel=0x98eaba71, /10.83.129.70:57335 -> /172.22.178.35:6379, epid=0x7, chid=0x7] channelActive() done
21:26:25.152 [lettuce-nioEventLoop-4-7] DEBUG io.lettuce.core.AbstractRedisClient - Connecting to Redis at 172.22.178.35/<unresolved>:6379: Success
21:26:25.154 [main] DEBUG io.lettuce.core.cluster.PooledClusterConnectionProvider - getConnection(WRITE, 172.22.178.30, 6379)
21:26:25.155 [main] DEBUG io.lettuce.core.cluster.PooledClusterConnectionProvider$DefaultClusterNodeConnectionFactory - Resolved SocketAddress 172.22.178.30/<unresolved>:6379 using for Cluster node at 172.22.178.30:6379
21:26:25.155 [main] DEBUG io.lettuce.core.AbstractRedisClient - Connecting to Redis at 172.22.178.30/<unresolved>:6379
21:26:25.155 [lettuce-nioEventLoop-4-8] DEBUG io.lettuce.core.protocol.CommandHandler - [channel=0x9b05c870, [id: 0x9490df5e] (inactive), epid=0x8, chid=0x8] channelRegistered()
21:26:25.156 [main] DEBUG io.lettuce.core.cluster.PooledClusterConnectionProvider - getConnection(WRITE, 172.22.178.31, 6379)
21:26:25.156 [main] DEBUG io.lettuce.core.cluster.PooledClusterConnectionProvider$DefaultClusterNodeConnectionFactory - Resolved SocketAddress 172.22.178.31/<unresolved>:6379 using for Cluster node at 172.22.178.31:6379
21:26:25.156 [main] DEBUG io.lettuce.core.AbstractRedisClient - Connecting to Redis at 172.22.178.31/<unresolved>:6379
21:26:25.157 [main] DEBUG io.lettuce.core.cluster.PooledClusterConnectionProvider - getConnection(WRITE, 172.22.178.33, 6379)
21:26:25.157 [main] DEBUG io.lettuce.core.cluster.PooledClusterConnectionProvider$DefaultClusterNodeConnectionFactory - Resolved SocketAddress 172.22.178.33/<unresolved>:6379 using for Cluster node at 172.22.178.33:6379
21:26:25.157 [main] DEBUG io.lettuce.core.AbstractRedisClient - Connecting to Redis at 172.22.178.33/<unresolved>:6379
21:26:25.157 [lettuce-nioEventLoop-4-9] DEBUG io.lettuce.core.protocol.CommandHandler - [channel=0x46fa23eb, [id: 0xe7f91f3e] (inactive), epid=0x9, chid=0x9] channelRegistered()
21:26:25.158 [lettuce-nioEventLoop-4-10] DEBUG io.lettuce.core.protocol.CommandHandler - [channel=0x84a8347e, [id: 0x38ecd5b4] (inactive), epid=0xa, chid=0xa] channelRegistered()
21:26:25.214 [lettuce-nioEventLoop-4-7] DEBUG io.lettuce.core.protocol.CommandHandler - [channel=0x98eaba71, /10.83.129.70:57335 -> /172.22.178.35:6379, epid=0x7, chid=0x7] Received: 47 bytes, 1 commands in the stack
21:26:25.214 [lettuce-nioEventLoop-4-7] DEBUG io.lettuce.core.protocol.CommandHandler - [channel=0x98eaba71, /10.83.129.70:57335 -> /172.22.178.35:6379, epid=0x7, chid=0x7] Stack contains: 1 commands
21:26:25.214 [lettuce-nioEventLoop-4-7] DEBUG io.lettuce.core.protocol.RedisStateMachine - Decode done, empty stack: true
21:26:25.214 [lettuce-nioEventLoop-4-7] DEBUG io.lettuce.core.protocol.CommandHandler - [channel=0x98eaba71, /10.83.129.70:57335 -> /172.22.178.35:6379, epid=0x7, chid=0x7] Completing command ActivationCommand [type=CLUSTER, output=StatusOutput [output=616544614cbe7f44802ac9dbbded5c6ea1221ba6, error='null'], commandType=io.lettuce.core.cluster.ClusterCommand]
21:26:25.218 [lettuce-nioEventLoop-4-8] DEBUG io.lettuce.core.protocol.CommandHandler - [channel=0x9b05c870, /10.83.129.70:57336 -> /172.22.178.30:6379, epid=0x8, chid=0x8] write(ctx, AsyncCommand [type=HELLO, output=GenericMapOutput [output=null, error='null'], commandType=io.lettuce.core.protocol.Command], promise)
21:26:25.218 [lettuce-nioEventLoop-4-9] DEBUG io.lettuce.core.protocol.CommandHandler - [channel=0x46fa23eb, /10.83.129.70:57337 -> /172.22.178.31:6379, epid=0x9, chid=0x9] write(ctx, AsyncCommand [type=HELLO, output=GenericMapOutput [output=null, error='null'], commandType=io.lettuce.core.protocol.Command], promise)
21:26:25.218 [lettuce-nioEventLoop-4-8] DEBUG io.lettuce.core.protocol.CommandEncoder - [channel=0x9b05c870, /10.83.129.70:57336 -> /172.22.178.30:6379] writing command AsyncCommand [type=HELLO, output=GenericMapOutput [output=null, error='null'], commandType=io.lettuce.core.protocol.Command]
21:26:25.218 [lettuce-nioEventLoop-4-9] DEBUG io.lettuce.core.protocol.CommandEncoder - [channel=0x46fa23eb, /10.83.129.70:57337 -> /172.22.178.31:6379] writing command AsyncCommand [type=HELLO, output=GenericMapOutput [output=null, error='null'], commandType=io.lettuce.core.protocol.Command]
21:26:25.234 [lettuce-nioEventLoop-4-10] DEBUG io.lettuce.core.protocol.CommandHandler - [channel=0x84a8347e, /10.83.129.70:57338 -> /172.22.178.33:6379, epid=0xa, chid=0xa] write(ctx, AsyncCommand [type=HELLO, output=GenericMapOutput [output=null, error='null'], commandType=io.lettuce.core.protocol.Command], promise)
21:26:25.234 [lettuce-nioEventLoop-4-10] DEBUG io.lettuce.core.protocol.CommandEncoder - [channel=0x84a8347e, /10.83.129.70:57338 -> /172.22.178.33:6379] writing command AsyncCommand [type=HELLO, output=GenericMapOutput [output=null, error='null'], commandType=io.lettuce.core.protocol.Command]
21:26:25.283 [lettuce-nioEventLoop-4-8] DEBUG io.lettuce.core.protocol.CommandHandler - [channel=0x9b05c870, /10.83.129.70:57336 -> /172.22.178.30:6379, epid=0x8, chid=0x8] Received: 696 bytes, 1 commands in the stack
21:26:25.283 [lettuce-nioEventLoop-4-9] DEBUG io.lettuce.core.protocol.CommandHandler - [channel=0x46fa23eb, /10.83.129.70:57337 -> /172.22.178.31:6379, epid=0x9, chid=0x9] Received: 696 bytes, 1 commands in the stack
21:26:25.283 [lettuce-nioEventLoop-4-8] DEBUG io.lettuce.core.protocol.CommandHandler - [channel=0x9b05c870, /10.83.129.70:57336 -> /172.22.178.30:6379, epid=0x8, chid=0x8] Stack contains: 1 commands
21:26:25.283 [lettuce-nioEventLoop-4-9] DEBUG io.lettuce.core.protocol.CommandHandler - [channel=0x46fa23eb, /10.83.129.70:57337 -> /172.22.178.31:6379, epid=0x9, chid=0x9] Stack contains: 1 commands
21:26:25.284 [lettuce-nioEventLoop-4-9] DEBUG io.lettuce.core.protocol.RedisStateMachine - Decode done, empty stack: true
21:26:25.284 [lettuce-nioEventLoop-4-8] DEBUG io.lettuce.core.protocol.RedisStateMachine - Decode done, empty stack: true
21:26:25.284 [lettuce-nioEventLoop-4-9] DEBUG io.lettuce.core.protocol.CommandHandler - [channel=0x46fa23eb, /10.83.129.70:57337 -> /172.22.178.31:6379, epid=0x9, chid=0x9] Completing command AsyncCommand [type=HELLO, output=GenericMapOutput [output={server=redis, version=7.0.8, proto=3, id=113613, mode=cluster, role=master, modules=name, search=ver, 20605=path, /usr/lib/redis/modules/redisearch.so=args, name=ReJSON, ver=20404, path=/usr/lib/redis/modules/rejson.so, args=name, timeseries=ver, 10805=path, /usr/lib/redis/modules/redistimeseries.so=args, bf=ver, 20404=path, /usr/lib/redis/modules/redisbloom.so=args}, error='null'], commandType=io.lettuce.core.protocol.Command]
21:26:25.284 [lettuce-nioEventLoop-4-8] DEBUG io.lettuce.core.protocol.CommandHandler - [channel=0x9b05c870, /10.83.129.70:57336 -> /172.22.178.30:6379, epid=0x8, chid=0x8] Completing command AsyncCommand [type=HELLO, output=GenericMapOutput [output={server=redis, version=7.0.8, proto=3, id=114191, mode=cluster, role=master, modules=name, graph=ver, 21008=path, /usr/lib/redis/modules/redisgraph.so=args, name=ReJSON, ver=20404, path=/usr/lib/redis/modules/rejson.so, args=name, search=ver, 20605=path, /usr/lib/redis/modules/redisearch.so=args, bf=ver, 20404=path, /usr/lib/redis/modules/redisbloom.so=args}, error='null'], commandType=io.lettuce.core.protocol.Command]
21:26:25.284 [lettuce-nioEventLoop-4-9] DEBUG io.lettuce.core.protocol.CommandHandler - [channel=0x46fa23eb, /10.83.129.70:57337 -> /172.22.178.31:6379, epid=0x9, chid=0x9] channelActive()
21:26:25.284 [lettuce-nioEventLoop-4-8] DEBUG io.lettuce.core.protocol.CommandHandler - [channel=0x9b05c870, /10.83.129.70:57336 -> /172.22.178.30:6379, epid=0x8, chid=0x8] channelActive()
21:26:25.284 [lettuce-nioEventLoop-4-9] DEBUG io.lettuce.core.protocol.DefaultEndpoint - [channel=0x46fa23eb, /10.83.129.70:57337 -> /172.22.178.31:6379, epid=0x9] activateEndpointAndExecuteBufferedCommands 0 command(s) buffered
21:26:25.284 [lettuce-nioEventLoop-4-8] DEBUG io.lettuce.core.protocol.DefaultEndpoint - [channel=0x9b05c870, /10.83.129.70:57336 -> /172.22.178.30:6379, epid=0x8] activateEndpointAndExecuteBufferedCommands 0 command(s) buffered
21:26:25.284 [lettuce-nioEventLoop-4-9] DEBUG io.lettuce.core.protocol.DefaultEndpoint - [channel=0x46fa23eb, /10.83.129.70:57337 -> /172.22.178.31:6379, epid=0x9] activating endpoint
21:26:25.284 [lettuce-nioEventLoop-4-8] DEBUG io.lettuce.core.protocol.DefaultEndpoint - [channel=0x9b05c870, /10.83.129.70:57336 -> /172.22.178.30:6379, epid=0x8] activating endpoint
21:26:25.284 [lettuce-nioEventLoop-4-8] DEBUG io.lettuce.core.protocol.DefaultEndpoint - [channel=0x9b05c870, /10.83.129.70:57336 -> /172.22.178.30:6379, epid=0x8] flushCommands()
21:26:25.284 [lettuce-nioEventLoop-4-9] DEBUG io.lettuce.core.protocol.DefaultEndpoint - [channel=0x46fa23eb, /10.83.129.70:57337 -> /172.22.178.31:6379, epid=0x9] flushCommands()
21:26:25.284 [lettuce-nioEventLoop-4-8] DEBUG io.lettuce.core.protocol.DefaultEndpoint - [channel=0x9b05c870, /10.83.129.70:57336 -> /172.22.178.30:6379, epid=0x8] flushCommands() Flushing 0 commands
21:26:25.284 [lettuce-nioEventLoop-4-9] DEBUG io.lettuce.core.protocol.DefaultEndpoint - [channel=0x46fa23eb, /10.83.129.70:57337 -> /172.22.178.31:6379, epid=0x9] flushCommands() Flushing 0 commands
21:26:25.284 [lettuce-nioEventLoop-4-8] DEBUG io.lettuce.core.protocol.ConnectionWatchdog - [channel=0x9b05c870, /10.83.129.70:57336 -> /172.22.178.30:6379, last known addr=/172.22.178.30:6379] channelActive()
21:26:25.284 [lettuce-nioEventLoop-4-8] DEBUG io.lettuce.core.protocol.CommandHandler - [channel=0x9b05c870, /10.83.129.70:57336 -> /172.22.178.30:6379, epid=0x8, chid=0x8] channelActive() done
21:26:25.284 [lettuce-nioEventLoop-4-9] DEBUG io.lettuce.core.protocol.ConnectionWatchdog - [channel=0x46fa23eb, /10.83.129.70:57337 -> /172.22.178.31:6379, last known addr=/172.22.178.31:6379] channelActive()
21:26:25.284 [lettuce-nioEventLoop-4-8] DEBUG io.lettuce.core.AbstractRedisClient - Connecting to Redis at 172.22.178.30/<unresolved>:6379: Success
21:26:25.284 [lettuce-nioEventLoop-4-9] DEBUG io.lettuce.core.protocol.CommandHandler - [channel=0x46fa23eb, /10.83.129.70:57337 -> /172.22.178.31:6379, epid=0x9, chid=0x9] channelActive() done
21:26:25.284 [lettuce-nioEventLoop-4-9] DEBUG io.lettuce.core.AbstractRedisClient - Connecting to Redis at 172.22.178.31/<unresolved>:6379: Success
21:26:25.288 [lettuce-nioEventLoop-4-9] DEBUG io.lettuce.core.RedisChannelHandler - dispatching command AsyncCommand [type=CREATE, output=StatusOutput [output=null, error='null'], commandType=io.lettuce.core.protocol.Command]
21:26:25.288 [lettuce-nioEventLoop-4-8] DEBUG io.lettuce.core.RedisChannelHandler - dispatching command AsyncCommand [type=CREATE, output=StatusOutput [output=null, error='null'], commandType=io.lettuce.core.protocol.Command]
21:26:25.288 [lettuce-nioEventLoop-4-9] DEBUG io.lettuce.core.protocol.DefaultEndpoint - [channel=0x46fa23eb, /10.83.129.70:57337 -> /172.22.178.31:6379, epid=0x9] write() writeAndFlush command AsyncCommand [type=CREATE, output=StatusOutput [output=null, error='null'], commandType=io.lettuce.core.protocol.Command]
21:26:25.288 [lettuce-nioEventLoop-4-8] DEBUG io.lettuce.core.protocol.DefaultEndpoint - [channel=0x9b05c870, /10.83.129.70:57336 -> /172.22.178.30:6379, epid=0x8] write() writeAndFlush command AsyncCommand [type=CREATE, output=StatusOutput [output=null, error='null'], commandType=io.lettuce.core.protocol.Command]
21:26:25.288 [lettuce-nioEventLoop-4-9] DEBUG io.lettuce.core.protocol.CommandHandler - [channel=0x46fa23eb, /10.83.129.70:57337 -> /172.22.178.31:6379, epid=0x9, chid=0x9] write(ctx, AsyncCommand [type=CREATE, output=StatusOutput [output=null, error='null'], commandType=io.lettuce.core.protocol.Command], promise)
21:26:25.288 [lettuce-nioEventLoop-4-8] DEBUG io.lettuce.core.protocol.CommandHandler - [channel=0x9b05c870, /10.83.129.70:57336 -> /172.22.178.30:6379, epid=0x8, chid=0x8] write(ctx, AsyncCommand [type=CREATE, output=StatusOutput [output=null, error='null'], commandType=io.lettuce.core.protocol.Command], promise)
21:26:25.288 [lettuce-nioEventLoop-4-8] DEBUG io.lettuce.core.protocol.CommandEncoder - [channel=0x9b05c870, /10.83.129.70:57336 -> /172.22.178.30:6379] writing command AsyncCommand [type=CREATE, output=StatusOutput [output=null, error='null'], commandType=io.lettuce.core.protocol.Command]
21:26:25.288 [lettuce-nioEventLoop-4-9] DEBUG io.lettuce.core.protocol.CommandEncoder - [channel=0x46fa23eb, /10.83.129.70:57337 -> /172.22.178.31:6379] writing command AsyncCommand [type=CREATE, output=StatusOutput [output=null, error='null'], commandType=io.lettuce.core.protocol.Command]
21:26:25.288 [lettuce-nioEventLoop-4-9] DEBUG io.lettuce.core.protocol.DefaultEndpoint - [channel=0x46fa23eb, /10.83.129.70:57337 -> /172.22.178.31:6379, epid=0x9] write() done
21:26:25.288 [lettuce-nioEventLoop-4-8] DEBUG io.lettuce.core.protocol.DefaultEndpoint - [channel=0x9b05c870, /10.83.129.70:57336 -> /172.22.178.30:6379, epid=0x8] write() done
21:26:25.298 [lettuce-nioEventLoop-4-10] DEBUG io.lettuce.core.protocol.CommandHandler - [channel=0x84a8347e, /10.83.129.70:57338 -> /172.22.178.33:6379, epid=0xa, chid=0xa] Received: 696 bytes, 1 commands in the stack
21:26:25.298 [lettuce-nioEventLoop-4-10] DEBUG io.lettuce.core.protocol.CommandHandler - [channel=0x84a8347e, /10.83.129.70:57338 -> /172.22.178.33:6379, epid=0xa, chid=0xa] Stack contains: 1 commands
21:26:25.298 [lettuce-nioEventLoop-4-10] DEBUG io.lettuce.core.protocol.RedisStateMachine - Decode done, empty stack: true
21:26:25.298 [lettuce-nioEventLoop-4-10] DEBUG io.lettuce.core.protocol.CommandHandler - [channel=0x84a8347e, /10.83.129.70:57338 -> /172.22.178.33:6379, epid=0xa, chid=0xa] Completing command AsyncCommand [type=HELLO, output=GenericMapOutput [output={server=redis, version=7.0.8, proto=3, id=115433, mode=cluster, role=master, modules=name, graph=ver, 21008=path, /usr/lib/redis/modules/redisgraph.so=args, name=ReJSON, ver=20404, path=/usr/lib/redis/modules/rejson.so, args=name, timeseries=ver, 10805=path, /usr/lib/redis/modules/redistimeseries.so=args, bf=ver, 20404=path, /usr/lib/redis/modules/redisbloom.so=args}, error='null'], commandType=io.lettuce.core.protocol.Command]
21:26:25.298 [lettuce-nioEventLoop-4-10] DEBUG io.lettuce.core.protocol.CommandHandler - [channel=0x84a8347e, /10.83.129.70:57338 -> /172.22.178.33:6379, epid=0xa, chid=0xa] channelActive()
21:26:25.298 [lettuce-nioEventLoop-4-10] DEBUG io.lettuce.core.protocol.DefaultEndpoint - [channel=0x84a8347e, /10.83.129.70:57338 -> /172.22.178.33:6379, epid=0xa] activateEndpointAndExecuteBufferedCommands 0 command(s) buffered
21:26:25.298 [lettuce-nioEventLoop-4-10] DEBUG io.lettuce.core.protocol.DefaultEndpoint - [channel=0x84a8347e, /10.83.129.70:57338 -> /172.22.178.33:6379, epid=0xa] activating endpoint
21:26:25.298 [lettuce-nioEventLoop-4-10] DEBUG io.lettuce.core.protocol.DefaultEndpoint - [channel=0x84a8347e, /10.83.129.70:57338 -> /172.22.178.33:6379, epid=0xa] flushCommands()
21:26:25.298 [lettuce-nioEventLoop-4-10] DEBUG io.lettuce.core.protocol.DefaultEndpoint - [channel=0x84a8347e, /10.83.129.70:57338 -> /172.22.178.33:6379, epid=0xa] flushCommands() Flushing 0 commands
21:26:25.298 [lettuce-nioEventLoop-4-10] DEBUG io.lettuce.core.protocol.ConnectionWatchdog - [channel=0x84a8347e, /10.83.129.70:57338 -> /172.22.178.33:6379, last known addr=/172.22.178.33:6379] channelActive()
21:26:25.298 [lettuce-nioEventLoop-4-10] DEBUG io.lettuce.core.protocol.CommandHandler - [channel=0x84a8347e, /10.83.129.70:57338 -> /172.22.178.33:6379, epid=0xa, chid=0xa] channelActive() done
21:26:25.298 [lettuce-nioEventLoop-4-10] DEBUG io.lettuce.core.AbstractRedisClient - Connecting to Redis at 172.22.178.33/<unresolved>:6379: Success
21:26:25.299 [lettuce-nioEventLoop-4-10] DEBUG io.lettuce.core.RedisChannelHandler - dispatching command AsyncCommand [type=CREATE, output=StatusOutput [output=null, error='null'], commandType=io.lettuce.core.protocol.Command]
21:26:25.299 [lettuce-nioEventLoop-4-10] DEBUG io.lettuce.core.protocol.DefaultEndpoint - [channel=0x84a8347e, /10.83.129.70:57338 -> /172.22.178.33:6379, epid=0xa] write() writeAndFlush command AsyncCommand [type=CREATE, output=StatusOutput [output=null, error='null'], commandType=io.lettuce.core.protocol.Command]
21:26:25.299 [lettuce-nioEventLoop-4-10] DEBUG io.lettuce.core.protocol.CommandHandler - [channel=0x84a8347e, /10.83.129.70:57338 -> /172.22.178.33:6379, epid=0xa, chid=0xa] write(ctx, AsyncCommand [type=CREATE, output=StatusOutput [output=null, error='null'], commandType=io.lettuce.core.protocol.Command], promise)
21:26:25.299 [lettuce-nioEventLoop-4-10] DEBUG io.lettuce.core.protocol.CommandEncoder - [channel=0x84a8347e, /10.83.129.70:57338 -> /172.22.178.33:6379] writing command AsyncCommand [type=CREATE, output=StatusOutput [output=null, error='null'], commandType=io.lettuce.core.protocol.Command]
21:26:25.299 [lettuce-nioEventLoop-4-10] DEBUG io.lettuce.core.protocol.DefaultEndpoint - [channel=0x84a8347e, /10.83.129.70:57338 -> /172.22.178.33:6379, epid=0xa] write() done
21:26:25.351 [lettuce-nioEventLoop-4-9] DEBUG io.lettuce.core.protocol.CommandHandler - [channel=0x46fa23eb, /10.83.129.70:57337 -> /172.22.178.31:6379, epid=0x9, chid=0x9] Received: 33 bytes, 1 commands in the stack
21:26:25.351 [lettuce-nioEventLoop-4-8] DEBUG io.lettuce.core.protocol.CommandHandler - [channel=0x9b05c870, /10.83.129.70:57336 -> /172.22.178.30:6379, epid=0x8, chid=0x8] Received: 33 bytes, 1 commands in the stack
21:26:25.351 [lettuce-nioEventLoop-4-9] DEBUG io.lettuce.core.protocol.CommandHandler - [channel=0x46fa23eb, /10.83.129.70:57337 -> /172.22.178.31:6379, epid=0x9, chid=0x9] Stack contains: 1 commands
21:26:25.351 [lettuce-nioEventLoop-4-8] DEBUG io.lettuce.core.protocol.CommandHandler - [channel=0x9b05c870, /10.83.129.70:57336 -> /172.22.178.30:6379, epid=0x8, chid=0x8] Stack contains: 1 commands
21:26:25.351 [lettuce-nioEventLoop-4-9] DEBUG io.lettuce.core.protocol.RedisStateMachine - Decode done, empty stack: true
21:26:25.351 [lettuce-nioEventLoop-4-8] DEBUG io.lettuce.core.protocol.RedisStateMachine - Decode done, empty stack: true
21:26:25.351 [lettuce-nioEventLoop-4-9] DEBUG io.lettuce.core.protocol.CommandHandler - [channel=0x46fa23eb, /10.83.129.70:57337 -> /172.22.178.31:6379, epid=0x9, chid=0x9] Completing command AsyncCommand [type=CREATE, output=StatusOutput [output=null, error='MOVED 12127 172.22.178.33:6379'], commandType=io.lettuce.core.protocol.Command]
21:26:25.351 [lettuce-nioEventLoop-4-8] DEBUG io.lettuce.core.protocol.CommandHandler - [channel=0x9b05c870, /10.83.129.70:57336 -> /172.22.178.30:6379, epid=0x8, chid=0x8] Completing command AsyncCommand [type=CREATE, output=StatusOutput [output=null, error='MOVED 12127 172.22.178.33:6379'], commandType=io.lettuce.core.protocol.Command]
21:26:25.361 [lettuce-nioEventLoop-4-10] DEBUG io.lettuce.core.protocol.CommandHandler - [channel=0x84a8347e, /10.83.129.70:57338 -> /172.22.178.33:6379, epid=0xa, chid=0xa] Received: 5 bytes, 1 commands in the stack
21:26:25.362 [lettuce-nioEventLoop-4-10] DEBUG io.lettuce.core.protocol.CommandHandler - [channel=0x84a8347e, /10.83.129.70:57338 -> /172.22.178.33:6379, epid=0xa, chid=0xa] Stack contains: 1 commands
21:26:25.362 [lettuce-nioEventLoop-4-10] DEBUG io.lettuce.core.protocol.RedisStateMachine - Decode done, empty stack: true
21:26:25.362 [lettuce-nioEventLoop-4-10] DEBUG io.lettuce.core.protocol.CommandHandler - [channel=0x84a8347e, /10.83.129.70:57338 -> /172.22.178.33:6379, epid=0xa, chid=0xa] Completing command AsyncCommand [type=CREATE, output=StatusOutput [output=OK, error='null'], commandType=io.lettuce.core.protocol.Command]
Exception in thread "main" io.lettuce.core.RedisCommandExecutionException: MOVED 12127 172.22.178.33:6379
        at io.lettuce.core.internal.ExceptionFactory.createExecutionException(ExceptionFactory.java:147)
        at io.lettuce.core.internal.Exceptions.bubble(Exceptions.java:72)
        at io.lettuce.core.internal.Futures.awaitOrCancel(Futures.java:250)
        at io.lettuce.core.cluster.ClusterFutureSyncInvocationHandler.handleInvocation(ClusterFutureSyncInvocationHandler.java:131)
        at io.lettuce.core.internal.AbstractInvocationHandler.invoke(AbstractInvocationHandler.java:80)
        at jdk.proxy1/jdk.proxy1.$Proxy23.ftCreate(Unknown Source)
        at com.wavemoney.ppa.redisom.RedisConf.cluster(RedisConf.java:80)
        at com.wavemoney.ppa.redisom.RedisConf.main(RedisConf.java:27)
Caused by: io.lettuce.core.RedisCommandExecutionException: MOVED 12127 172.22.178.33:6379
        at io.lettuce.core.internal.ExceptionFactory.createExecutionException(ExceptionFactory.java:147)
        at io.lettuce.core.internal.ExceptionFactory.createExecutionException(ExceptionFactory.java:116)
        at io.lettuce.core.protocol.AsyncCommand.completeResult(AsyncCommand.java:120)
        at io.lettuce.core.protocol.AsyncCommand.complete(AsyncCommand.java:111)
        at io.lettuce.core.protocol.CommandHandler.complete(CommandHandler.java:747)
        at io.lettuce.core.protocol.CommandHandler.decode(CommandHandler.java:682)
        at io.lettuce.core.protocol.CommandHandler.channelRead(CommandHandler.java:599)
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:442)
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
        at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:412)
        at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410)
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:440)
        at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:420)
        at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919)
        at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:166)
        at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:788)
        at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:724)
        at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:650)
        at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:562)
        at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:997)
        at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74)
        at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
        at java. Base/java.lang.Thread.run(Unknown Source)

FT.INFO idx output:

> FT.INFO idx
index_name
idx
index_options
index_definition
key_type
HASH
prefixes
doc
default_score
1
attributes
identifier
name
attribute
name
type
TEXT
WEIGHT
1
identifier
age
attribute
age
type
TEXT
WEIGHT
1
identifier
gender
attribute
gender
type
TEXT
WEIGHT
1
num_docs
0
max_doc_id
0
num_terms
0
num_records
0
inverted_sz_mb
0
vector_index_sz_mb
0
total_inverted_index_blocks
3
offset_vectors_sz_mb
0
doc_table_size_mb
0
sortable_values_size_mb
0
key_table_size_mb
0
records_per_doc_avg
-nan
bytes_per_record_avg
-nan
offsets_per_term_avg
-nan
offset_bits_per_record_avg
-nan
hash_indexing_failures
0
total_indexing_time
0
indexing
0
percent_indexed
1
number_of_uses
1
gc_stats
bytes_collected
0
total_ms_run
0
total_cycles
0
average_cycle_time_ms
-nan
last_run_time_ms
0
gc_numeric_trees_missed
0
gc_blocks_denied
0
cursor_stats
global_idle
0
global_total
0
index_capacity
128
index_total
0
dialect_stats
dialect_1
0
dialect_2
0
dialect_3
0

FT.SEARCH idx "male" output:

> FT.SEARCH idx "male"
2
doc:1{idx}
name
John
gender
male
age
37
doc:2{idx}
name
David
gender
male
age
32