about summary refs log tree commit
path: root/lib/metropolis/tc/hdb/ro.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/metropolis/tc/hdb/ro.rb')
-rw-r--r--lib/metropolis/tc/hdb/ro.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/metropolis/tc/hdb/ro.rb b/lib/metropolis/tc/hdb/ro.rb
index 62ededc..72fa968 100644
--- a/lib/metropolis/tc/hdb/ro.rb
+++ b/lib/metropolis/tc/hdb/ro.rb
@@ -14,6 +14,6 @@ module Metropolis::TC::HDB::RO
   end
 
   def reader(key)
-    yield @ro_dbv[key.hash % @nr_slots]
+    yield @ro_dbv[multi_hash(key) % @nr_slots]
   end
 end