Skip to content

Conversation

@tonyastolfi
Copy link
Collaborator

@tonyastolfi tonyastolfi commented Jan 23, 2026

Other significant changes:

TURTLE_KV_PROFILE_QUERIES/TURTLE_KV_PROFILE_QUERIES

Added to turtle_kv/config.hpp to control whether metric collection is compiled along critical paths.

BatchUpdateMetrics

Metrics are now collected for batch updates in particular; these are propagated through the call stack via the BatchUpdate struct; this motivates changing a lot of function signatures that previously received PageLoader, to now take a BatchUpdate ref. This also allowed some cleanup inside the node algorithms code to update pending bytes counts.

try_split/try_split_direct

Refacted InMemoryNode splitting to better separate the core "direct" splitting code from the outer retry loop that detects certain exceptional conditions and applies heuristic fixes.

Trie Index building (PackedLeafPage)

Added some new code to handle edge cases (e.g. leaf contains a single key, item count is less than 16, etc.)

@tonyastolfi tonyastolfi self-assigned this Jan 23, 2026
@tonyastolfi tonyastolfi changed the title New options parser/formatter; add support for page cache overcommit Add support for page cache overcommit Jan 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants