Skip to content

Conversation

@martinsumner
Copy link

Update from upstream approved PRs to resolve martinsumner#465 and martinsumner#468

There is a db_id of 0 (for example for vnode 0 in a riak cluster) - so naming databases without an id 0 creates confusion
* Test and fix - issue with folding beyond JournalSQN

Test previously fails, as even on a fast machine the fold goes on for 5s beyond the last object found.

With change to reduce batch size, and stop when batch goes beyond JournalSQN - success with << 100ms spent folding after the last object discovered

* Wait after suite for delete_pending to close

martinsumner#462

* Avoid processing key changes in object fold runner

As the key changes are going to be discarded
* Test of sqn_order fold with compaction

Exposes issue with delete_pending not supporting cdb_scan.

* Reduce default max_run_length to ensure compaction triggers
…ring Journal check (martinsumner#472)

* Add ability to defer fetching a value in the fold - but without requring check presence

Reduces the cost of using head folds in partition repairs, where the check is not necessary as a fetch failure will be caught and prompt read repair.

* Update types for JournalCheck

* Fix tuple mistake (martinsumner#473)

Otherwise leveled_pclerk will crash if there is a partial merge that results in an an empty addition
@martinsumner martinsumner merged commit b8320d2 into openriak-3.4 Jan 24, 2025
2 checks passed
@martinsumner martinsumner deleted the nhse-o34-upstream.d34 branch January 24, 2025 19:48
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