Skip to content
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 migration Redis after RIOT compare source and target database Error, #148

Open
Gtmasks opened this issue Jun 5, 2024 · 0 comments

Comments

@Gtmasks
Copy link

Gtmasks commented Jun 5, 2024

riot version: 3.2.3
source and target Redis version : 5.0
OS :centos 7.9

issue:
The data verification and comparison I performed using RIOT 3.1.5 were normal. When I used RIOT 3.2.3 to complete the migration of the self-built Redis cluster to the master-slave Redis, the following error message was prompted when I compared the source and target databases with RIOT 3.2.3, and the data comparison was terminated. I would like to know how to solve this problem?

erro Info:

# riot -h localhost --cluster -p 30001 replicate --mode compare -h redis-cxxxxxx  -a $PW --progress BLOCK --skip-limit=10
Comparing 100% │█│ 200005/200005 (0:00:41 / 0:00:00) 4878.2/s | ok: 200,004 | missing: 1 | type:4
[main] WARN io.lettuce.core.RedisChannelHandler - Connection is already closed
[main] WARN io.lettuce.core.RedisChannelHandler - Connection is already closed
[main] WARN io.lettuce.core.RedisChannelHandler - Connection is already closed
org.springframework.batch.core.JobExecutionException: Error executing step compare-step in job Replication: Verification failed. Missing: 1, Type: 0, Value: 0, TTL: 0
        at com.redis.spring.batch.common.JobFactory.checkJobExecution(JobFactory.java:127)
        at com.redis.riot.core.AbstractRiotCallable.call(AbstractRiotCallable.java:85)
        at com.redis.riot.cli.AbstractRiotCommand.call(AbstractRiotCommand.java:105)
        at com.redis.riot.cli.AbstractExportCommand.call(AbstractExportCommand.java:15)
        at com.redis.riot.cli.AbstractRiotCommand.call(AbstractRiotCommand.java:28)
        at picocli.CommandLine.executeUserObject(CommandLine.java:2041)
        at picocli.CommandLine.access$1500(CommandLine.java:148)
        at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2461)
        at picocli.CommandLine$RunLast.handle(CommandLine.java:2453)
        at picocli.CommandLine$RunLast.handle(CommandLine.java:2415)
        at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2273)
        at picocli.CommandLine$RunLast.execute(CommandLine.java:2417)
        at com.redis.riot.cli.AbstractMainCommand.executionStrategy(AbstractMainCommand.java:83)
        at com.redis.riot.cli.CompositeExecutionStrategy.execute(CompositeExecutionStrategy.java:28)
        at picocli.CommandLine.execute(CommandLine.java:2170)
        at com.redis.riot.cli.AbstractMainCommand.execute(AbstractMainCommand.java:66)
        at com.redis.riot.cli.AbstractMainCommand.run(AbstractMainCommand.java:42)
        at com.redis.riot.cli.Main.main(Main.java:9)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant