Keyspace handling for rings