From db9ed5fdb44a78e955c56b0483c50caa0c4dd22e Mon Sep 17 00:00:00 2001 From: sdong Date: Fri, 30 Jan 2015 16:07:35 -0800 Subject: [PATCH] Unaddressed comment in previous diff. Change only in code comments. --- include/rocksdb/slice_transform.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/rocksdb/slice_transform.h b/include/rocksdb/slice_transform.h index c51dd8cb8..3694c5802 100644 --- a/include/rocksdb/slice_transform.h +++ b/include/rocksdb/slice_transform.h @@ -44,7 +44,9 @@ class SliceTransform { // they are using. This function is to help users can determine: // if they want to iterate all keys prefixing `prefix`, whetherit is // safe to use prefix bloom filter and seek to key `prefix`. - // Only returning false indicates it is correct to do that. + // If this function returns true, this means a user can Seek() to a prefix + // using the bloom filter. Otherwise, user needs to skip the bloom filter + // by setting ReadOptions.total_order_seek = true. // // Here is an example: Suppose we implement a slice transform that returns // the first part of the string after spliting it using deimiter ",":