Commit 3198704d authored by John Esmet's avatar John Esmet

FT-273 Be more specific about why memcmp magic is interesting

parent 8a60ea2f
......@@ -2860,7 +2860,8 @@ toku_ft_handle_get_fanout(FT_HANDLE ft_handle, unsigned int *fanout)
// The memcmp magic byte may be set on a per fractal tree basis to communicate
// that if two keys begin with this byte, they may be compared with the builtin
// key comparison function. This greatly optimizes certain in-memory workloads.
// key comparison function. This greatly optimizes certain in-memory workloads,
// such as lookups by OID primary key in TokuMX.
int toku_ft_handle_set_memcmp_magic(FT_HANDLE ft_handle, uint8_t magic) {
if (magic == comparator::MEMCMP_MAGIC_NONE) {
return EINVAL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment