Commit 2776166
Support avoiding some deserialization overhead when issuing heartbeats
Summary:
Add support for log providers to define a callback that folds over log entries
encoded in external term format and to append log entries sent from a leader
to a follower without being decoded on the leader. This scheme can help
some types of log provider implementations avoid deserialization overheads
on leaders sending heartbeats to followers.
Reviewed By: jaher
Differential Revision:
D76298284
Privacy Context Container: L1141030
fbshipit-source-id: 7aeeb3c08a88bd03203b7808d6c3918233deec131 parent f0d69e0 commit 2776166
File tree
5 files changed
+269
-121
lines changed- include
- src
5 files changed
+269
-121
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
260 | 260 | | |
261 | 261 | | |
262 | 262 | | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
263 | 270 | | |
264 | 271 | | |
265 | 272 | | |
| |||
0 commit comments