Skip to content

Nhse o34 orkv.i151 testbucketsync - #30

Merged
martinsumner merged 7 commits into
openriak-3.4from
nhse-o34-orkv.i151-testbucketsync
Jun 22, 2026
Merged

Nhse o34 orkv.i151 testbucketsync#30
martinsumner merged 7 commits into
openriak-3.4from
nhse-o34-orkv.i151-testbucketsync

Conversation

@martinsumner

Copy link
Copy Markdown
Contributor

Add a test of the bucket resync function

With ?KEY_COUNT of 500K:

2026-06-11 20:10:49.928977+01:00 [info] Launch resync of Bucket1 on A
2026-06-11 20:10:49.932560+01:00 [info] Attempt to resync bucket stared with 4 loops and 512 segment ranges
2026-06-11 20:13:32.315462+01:00 [info] Full loop completed with repair_count=375167 and unfixed_ranges=512 left to resolve with loops_remaining=3
2026-06-11 20:14:21.707972+01:00 [info] Full loop completed with repair_count=402 and unfixed_ranges=1 left to resolve with loops_remaining=2
2026-06-11 20:14:21.813057+01:00 [info] Full loop completed with repair_count=0 and unfixed_ranges=0 left to resolve with loops_remaining=1
2026-06-11 20:14:21.817263+01:00 [info] Resync of Bucket1 complete
2026-06-11 20:14:21.813113+01:00 [info] Full loop completed with repair_count=0 and unfixed_ranges=0 left to resolve with loops_remaining=0
2026-06-11 20:14:21.818337+01:00 [info] Launch resync of Bucket2 on A
2026-06-11 20:14:21.813138+01:00 [info] All loops complete with 0 ranges unfixed
2026-06-11 20:14:21.813163+01:00 [info] Resync attempt completed in duration=212 seconds
2026-06-11 20:14:21.820142+01:00 [info] Attempt to resync bucket stared with 4 loops and 512 segment ranges
2026-06-11 20:17:06.615957+01:00 [info] Full loop completed with repair_count=249818 and unfixed_ranges=512 left to resolve with loops_remaining=3
2026-06-11 20:17:56.390119+01:00 [info] Full loop completed with repair_count=136 and unfixed_ranges=1 left to resolve with loops_remaining=2
2026-06-11 20:17:56.487067+01:00 [info] Full loop completed with repair_count=0 and unfixed_ranges=0 left to resolve with loops_remaining=1
2026-06-11 20:17:56.487161+01:00 [info] Full loop completed with repair_count=0 and unfixed_ranges=0 left to resolve with loops_remaining=0
2026-06-11 20:17:56.487474+01:00 [info] Resync of Bucket2 complete

Actual config left at 50K to speed up test
Confirm that with a pool size of 4, more time is spent working the pool rather than queueing for a worker.
But with changes to support replicate_repair_tomb commented out
Eye test notes lack of double-repair
PR introducing hard_reset closed, may be reintroduced with better testing in future release
@martinsumner
martinsumner merged commit c19b96f into openriak-3.4 Jun 22, 2026
2 checks passed
@martinsumner
martinsumner deleted the nhse-o34-orkv.i151-testbucketsync branch June 22, 2026 12:07
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