-
Notifications
You must be signed in to change notification settings - Fork 172
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BP] MB-18712 Fix to a bug on comparison between NULL and zero-filled…
… chunk - In the current HB+trie, it cannot distinguish NULL and zero-filled chunks because they are same (0x0000...) in the disk node. - It causes an issue when 1) an iterator is initialized with a sub-string of the smallest key, and 2) the initial key is exactly aligned to chunk size, and 3) the rest of string excluding the prefix are all zero. - To address this issue, we need to handle that case separately during iterator initialization. Change-Id: Ib85e7fa232860af058924095f7e5fee3cddeff33 Reviewed-on: http://review.couchbase.org/61554 Tested-by: buildbot <build@couchbase.com> Reviewed-by: Chiyoung Seo <chiyoung@couchbase.com>
- Loading branch information
1 parent
793f17f
commit 122bba6
Showing
2 changed files
with
99 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters