Skip to content

Commit

Permalink
raft.h: Add raft_event.submit sub-struct
Browse files Browse the repository at this point in the history
This will hold information about entries submitted via RAFT_SUBMIT events.

Signed-off-by: Free Ekanayaka <free@ekanayaka.io>
  • Loading branch information
freeekanayaka committed Dec 21, 2023
1 parent 7315390 commit d9070b2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions include/raft.h
Original file line number Diff line number Diff line change
Expand Up @@ -659,6 +659,11 @@ struct raft_event
struct raft_snapshot_metadata metadata; /* Snapshot metadata */
unsigned trailing; /* Trailing entries kept */
} snapshot;
struct
{
struct raft_entry *entries;
unsigned n;
} submit;
};
};

Expand Down

0 comments on commit d9070b2

Please sign in to comment.