* to end to convert the index to a size means that the below
* calculation should be <=, but we want to keep an extra space in nodes
* to reduce jitter.
+ *
+ * Note that it is still possible to get a full node on the left by the
+ * NULL landing exactly on the split. The NULL ending of a node happens
+ * in the multi_dst_setup() function, where we will either increase the
+ * split by one or decrease it by one, if possible. In the case of
+ * split (this case), it is always possible to shift the spilt by one -
+ * again because there is at least one slot free by the below checking.
*/
-
-
- if (ma_is_leaf(type)) {
- if (new_data < space)
- return true;
- } else {
- if (new_data < space)
- return true;
- }
+ if (new_data < space)
+ return true;
return false;
}