feat(raft-apply-decoupling): add commit engine continuation registration (task 1.1)
commit_submit_async() lets a WAIT-mode caller register a continuation against an appended LSN instead of blocking on pthread_cond_timedwait, reusing the existing admission-cap discipline (wait_admit_locked/ wait_release_locked) so the bounded-capacity guarantee carries over unchanged. Purely additive: no existing call site (repl_wait_majority_ack) is touched yet -- that switch lands in task 3.2 once commit_resolve() (task 1.2) exists to drive it.
This commit is contained in:
parent
3ecb724984
commit
10d157f8c5
6 changed files with 457 additions and 1 deletions
|
|
@ -143,6 +143,7 @@ controller_unit_test_src = [
|
|||
'testsuite/test_drive_async_config.c',
|
||||
'testsuite/test_slowlane.c',
|
||||
'testsuite/test_commit_admission_pool.c',
|
||||
'testsuite/test_commit_resolve.c',
|
||||
'testsuite/test_ha_vep_teardown.c',
|
||||
'testsuite/test_ha_dispatch_integration.c',
|
||||
'testsuite/test_ha_core_safety.c',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue