Skip to content
This repository has been archived by the owner on May 3, 2024. It is now read-only.

Commit

Permalink
CORTX-33505: Add tree type in node header of btree node. (#2054)
Browse files Browse the repository at this point in the history
Problem:
- Inside btree `struct node_header::h_tree_type` field is not populated.

Solution:
- Assign tree type to `h_tree_type` variable while initializing a new node.
- Added check in node invariant to ensure this field is populated.
- Fixed one typo error in doc/sm/index.rst file.
- Added asserts to verify the order of members in struct ff_head,
  struct fkvv_head and struct vkvv_head because this order is
  expected while performing data recovery.

Signed-off-by: Kanchan Chaudhari <kanchan.chaudhari@seagate.com>
  • Loading branch information
kanchan-chaudhari authored Aug 8, 2022
1 parent fb0d258 commit 6c5d6e4
Show file tree
Hide file tree
Showing 2 changed files with 212 additions and 106 deletions.
Loading

0 comments on commit 6c5d6e4

Please sign in to comment.