Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

refactor: determine node version automatically on load #133

Merged
merged 2 commits into from
Sep 20, 2023

Conversation

ielashi
Copy link
Contributor

@ielashi ielashi commented Sep 19, 2023

Prior to this commit, the caller of Node::load needed to specify the node version that will be loaded. This is acceptable if all nodes have the same version, but given that a BTreeMap may have different versions of nodes (migration will be introduced in subsequent commits), this needs to change such that the node's version is detected on load.

@ielashi ielashi requested review from roman-kashitsyn and a team as code owners September 19, 2023 14:31
src/btreemap/node.rs Outdated Show resolved Hide resolved
@ielashi ielashi enabled auto-merge (squash) September 20, 2023 11:40
@ielashi ielashi disabled auto-merge September 20, 2023 11:41
@ielashi ielashi force-pushed the ielashi/migrate_to_v2 branch from 843c912 to 1d5bd70 Compare September 20, 2023 11:47
@ielashi ielashi merged commit 2d1076c into main Sep 20, 2023
3 checks passed
@ielashi ielashi deleted the ielashi/migrate_to_v2 branch September 20, 2023 11:51
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants