redis / riot

🧨 Get data in & out of Redis with RIOT

Home Page:http://redis.github.io/riot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The scanning number is higher than the migrated data

giulianisanches opened this issue Β· comments

Hi everyone,

When I run the following command, note the amount of scanned items is 3069 (witout the --scan-match is 56000).

[ec2-user@host ~]$ riot-redis --stacktrace -c -h "$ORIGIN_REDIS_ENDPOINT" -p "$REDIS_PORT" -a "$REDIS_PASSWORD" --tls replicate-ds -c -h "$DESTINATION_REDIS_ENDPOINT" -p "$REDIS_PORT" -a "$REDIS_PASSWORD" --tls --scan-match='l_*' --reader-batch=50 --batch 25 --mode snapshot --no-verify
Scanning 100% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3069/3069 (0:00:03 / 0:00:00) 1023.0/s

But when i log to both origin and target redis using the redis-cli and run a keys * command total item count is 600 in both sides.

What does the scanning information means ?

It looks like the scan size estimate was not accurate. It will be fixed in the upcoming release of RIOT

πŸŽ‰ This issue has been resolved in v3.1.1 (Release Notes)