Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

changed the comments on top of redis-copy.rb to reflect what the prog…

…ram really does
  • Loading branch information...
commit e19387302522a81d987bedef98d8961dd7ff06a9 1 parent c91abdc
@antirez authored
Showing with 4 additions and 6 deletions.
  1. +4 −6 utils/redis-copy.rb
View
10 utils/redis-copy.rb
@@ -1,12 +1,10 @@
-# redis-sha1.rb - Copyright (C) 2009 Salvatore Sanfilippo
+# redis-copy.rb - Copyright (C) 2009-2010 Salvatore Sanfilippo
# BSD license, See the COPYING file for more information.
#
-# Performs the SHA1 sum of the whole datset.
-# This is useful to spot bugs in persistence related code and to make sure
-# Slaves and Masters are in SYNC.
+# Copy the whole dataset from one Redis instance to another one
#
-# If you hack this code make sure to sort keys and set elements as this are
-# unsorted elements. Otherwise the sum may differ with equal dataset.
+# WARNING: currently hashes and sorted sets are not supported! This
+# program should be updated.
require 'rubygems'
require 'redis'
Please sign in to comment.
Something went wrong with that request. Please try again.