frank06/connect-riak — pull request #1 by wez (2011-12-14 04:40:42+00:00)
Title: Use secondary indices for expiration, not expensive key walking operations

I've learned the hard way that you really should not walk all the keys in your Riak cluster.

This change implements expiration using a binary secondary index. This is available if you configure your Riak 1.0+ backend to use eleveldb.

This change also disables the length() method, as this is expensive to calculate in Riak for the same reasons.