forked from lei.chen/myxce
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:
parent
34ab78d72d
commit
a88c5fbf21
2 changed files with 9 additions and 0 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue