Add ScabbardMessage types for pending batches back pressure
These message types will be sent by the coordinator to
non-coordinators to tell them to reject submitted batches
until the pending batch queue length has decreased.
@@ -20,6 +20,9 @@ message ScabbardMessage {
CONSENSUS_MESSAGE = 1;
PROPOSED_BATCH = 2;
NEW_BATCH = 3;
+
+ TOO_MANY_REQUESTS = 10;
+ ACCEPTING_REQUESTS = 11;
}
Type message_type = 1;
