Skip to content

Conversation

Bobochka
Copy link

  1. Replace KEYS with SCAN in batches of 1K for full DB audit
  2. Fixes key invalid encoding issue

@Bobochka Bobochka force-pushed the scan_and_invalid_encoding branch from d8404d3 to e0b6529 Compare April 20, 2017 07:16
@Bobochka Bobochka force-pushed the scan_and_invalid_encoding branch from e0b6529 to c745e5b Compare April 21, 2017 16:02
rescue Redis::CommandError
$stderr.puts "Skipping key #{key}"
rescue Redis::CommandError => e
$stderr.puts "Skipping key #{key} (#{e.message})"
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😍

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

Successfully merging this pull request may close these issues.

2 participants