typedb-protocol icon indicating copy to clipboard operation
typedb-protocol copied to clipboard

Cluster-specific protocol should not be included in Core's protocol

Open lolski opened this issue 4 years ago • 2 comments

Problem to Solve

[This issue has been generalised based on Alex's message below]

The protocol spec includes definitions specific to Core and Cluster in one place. However, this exposes Cluster APIs on the Core server that could accidentally be implemented and additionally represents a domain leak. The Cluster protocol should be separate and extend the Core protocol in a separately released package.

lolski avatar Jan 25 '21 12:01 lolski

read_any_replica is now part of the Options message, however the general message of this issue (it's visible to Core clients) still applies.

alexjpwalker avatar Apr 06 '21 15:04 alexjpwalker

Note: since we are planning on absorbing the protocol into the server repositories, this split should occur naturally.

flyingsilverfin avatar Jan 10 '23 11:01 flyingsilverfin