-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
riot-redis migrate from elasticache clustered enabled issue #87
Comments
I think this is the issue I'm running in to as well. I am trying to replicate from elasticache (cluster enabled) to sentinel redis running on k8s. RIOT runs fine, with no issue when I use it in snapshot mode, but when I run it in either live or liveonly mode it starts with
and then emits the following Warnings:
It also doesn't seem to be working. If I switch to another window in screen and run a compare I can see that the replication is not being kept up to date. Any ideas on why this is performing an illegal reflective access or how to stop it? |
Hi M-JobPixel, Have you tried using the docker method instead? docker run jruaux/riot-redis this could be a bug in the old version of RIOT. |
I have not. I will take a look at doing that... Yes that seems to work ok. No warnings. I haven't yet seen that it syncs things but I'll report back soon |
Hi
riot-redis version: riot-redis-2.0.8
In my source elasticache (test) that is clustered enabled, I wanted to migrate 25355 keys.
[root@ip-10-100-1-111 ~]# redis-cli -h test-redis-cluster-migrate.bbssxp.clustercfg.apse1.cache.amazonaws.com
test-redis-cluster-migrate.bbssxp.clustercfg.apse1.cache.amazonaws.com:6379>
test-redis-cluster-migrate.bbssxp.clustercfg.apse1.cache.amazonaws.com:6379> info keyspace
Keyspace
db0:keys=25355,expires=0,avg_ttl=0
But when I ran the command below, first I get warnings, and then only 10067 was migrated.
[root@ip-10-100-1-111 bin]# ./riot-redis --cluster -r redis://test-redis-cluster-migrate.bbssxp.clustercfg.apse1.cache.amazonaws.com:6379 replicate -r redis://efRK7H password@redis-16673.c19675.us-west1-1.gcp.cloud.rlrcp.com:16673 --live
Replicating from RedisURI [host='test-redis-cluster-migrate.bbssxp.clustercfg.apse1.cache.amazonaws.com', port=6379] to RedisURI [host='redis-16673.c19675.us-west1-1 .gcp.cloud.rlrcp.com', port=16673] ? % │█WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by io.lettuce.core.internal.DefaultMethods$MethodHandleLookup (file:/root/riot-redis-2.0.8/lib/lettuce-core-5.3.1.RELEASE.jar) to constructor java.lang.invoke.MethodHandles$Lookup(java.lang.Class)
WARNING: Please consider reporting this to the maintainers of io.lettuce.core.internal.DefaultMethods$MethodHandleLookup
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
Could not read values: Deque full
Replicating from RedisURI [host='test-redis-cluster-migrate.bbssxp.clustercfg.apse1.cache.amazonaws.com', port=6379] to RedisURI [host='redis-16673.c19675.us-west1-1 Replicating from RedisURI [host='test-redis-cluster-migrate.bbssxp.clustercfg.apse1.cache.amazonaws.com', port=6379] to RedisURI [host='redis-16673.c19675.us-west1-1 Replicating from RedisURI [host='test-redis-cluster-migrate.bbssxp.clustercfg.apse1.cache.amazonaws.com', port=6379] to RedisURI [host='redis-16673.c19675.us-west1-1 Replicating from RedisURI [host='test-redis-cluster-migrate.bbssxp.clustercfg.apse1.cache.amazonaws.com', port=6379] to RedisURI [host='redis-16673.c19675.us-west1-1 Replicating from RedisURI [host='test-redis-cluster-migrate.bbssxp.clustercfg.apse1.cache.amazonaws.com', port=6379] to RedisURI [host='redis-16673.c19675.us-west1-1 Replicating from RedisURI [host='test-redis-cluster-migrate.bbssxp.clustercfg.apse1.cache.amazonaws.com', port=6379] to RedisURI [host='redis-16673.c19675.us-west1-1 Replicating from RedisURI [host='test-redis-cluster-migrate.bbssxp.clustercfg.apse1.cache.amazonaws.com', port=6379] to RedisURI [host='redis-16673.c19675.us-west1-1.gcp.cloud.rlrcp.com', port=16673] ? % │ █ │ 10100/? (0:00:44 / ?) 229.5/s
[root@ip-10-100-1-111 bin]#
Below we can see that only 10067 were migrated
redis-16673.c19675.us-west1-1.gcp.cloud.rlrcp.com:16673> info keyspace
Keyspace
db0:keys=10067,expires=0,avg_ttl=0
redis-16673.c19675.us-west1-1.gcp.cloud.rlrcp.com:16673>
Please advise.
Thank you.
The text was updated successfully, but these errors were encountered: