...
The proposal is for the servers to include the segment metadata in the final phase of split commit protocol. To recap, See the split commit works as below:
...
ladder diagram in Consuming and Indexing rows in Realtime
In the final COMMIT step, the server includes the segment metadata and the segment creation metadata files so that the controller need not extract these from the segment in order to complete the segment and start the next one.
...
Design
We will add a new REST endpoint for segmentCommit step (3rd step of segment completion). This will be a POST endpoint, that includes a multi-part form. The multi-part POST has the following two parts:
...