prop 150 updates

This commit is contained in:
zzz
2019-05-02 17:33:44 +00:00
parent 5face8fd50
commit e506830140

View File

@@ -146,10 +146,37 @@ TBD, probably JSON.
Configuration
~~~~~~~~~~~~~
This is used for the leader to serialize a new cluster configuration and replicate to peers.
.. raw:: html
{% highlight lang='dataspec' %}
Log Index: 8 byte integer
Last Log Index: 8 byte integer
Server Data for each server:
ID: 4 byte integer
Endpoint data len: In bytes, 4 byte integer
Endpoint data: length as specified
{% endhighlight %}
ClusterServer
~~~~~~~~~~~~~
The configuration information for a server in a cluster.
.. raw:: html
{% highlight lang='dataspec' %}
ID: 4 byte integer
Endpoint data len: In bytes, 4 byte integer
Endpoint data: length as specified
{% endhighlight %}
LogPack
~~~~~~~
@@ -159,6 +186,22 @@ SnapshotSyncRequest
~~~~~~~~~~~
.. raw:: html
{% highlight lang='dataspec' %}
Message type: 1 byte
Last Log Index: 8 byte integer
Last Log Term: 8 byte integer
Config data len: In bytes, 4 byte integer
Config data: length as specified
Offset: 8 byte integer
Data len: In bytes, 4 byte integer
Data: length as specified
Is Done: 1 if done, 0 if not done (1 byte)
{% endhighlight %}