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
|
|
@ -71,6 +71,7 @@ extern void test_snapdiff(void);
|
|||
extern void test_drive_async_config(void);
|
||||
extern void test_slowlane(void);
|
||||
extern void test_commit_admission_pool(void);
|
||||
extern void test_commit_resolve(void);
|
||||
extern void test_ha_vep_teardown(void);
|
||||
extern void test_ha_dispatch_integration(void);
|
||||
extern void test_ha_core_safety(void);
|
||||
|
|
@ -216,6 +217,7 @@ int main(int argc, char* argv[])
|
|||
TEST(test_drive_async_config);
|
||||
TEST(test_slowlane);
|
||||
TEST(test_commit_admission_pool);
|
||||
TEST(test_commit_resolve);
|
||||
TEST(test_ha_vep_teardown);
|
||||
TEST(test_ha_dispatch_integration);
|
||||
TEST(test_ha_core_safety);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue