feat(raft-adapter-conformance): add term field to ReplConfigPushReply schema

Additive term @2 field on ReplConfigPushReply so a configuration-push
reply can carry the replying member's current term for term-discovery
(Requirement 7.4). Companion repl_config_push_reply_t struct field
added in typemap.h per the existing $C.mapname convention.
This commit is contained in:
Rongsong Shen 2026-07-29 09:09:56 +00:00
parent 34ab78d72d
commit a88c5fbf21
2 changed files with 9 additions and 0 deletions

View file

@ -491,6 +491,8 @@ struct repl_config_push_req_s {
struct repl_config_push_reply_s {
int accepted; /* 1 if standby accepted the push */
uint64_t version_tag; /* standby's current version tag after decision */
uint64_t term; /* replying member's current term (raft-adapter-
* conformance Req 7.4 term-discovery channel) */
};
struct upgrade_config_req_s {