hubcio opened a new pull request, #3192:
URL: https://github.com/apache/iggy/pull/3192
Replica plane stays TCP forever: VSR FIFO + view-change timing,
fd-delegation, writev batching all rely on plaintext between trusted
replicas. SDK-client plane gains four transports alongside TCP:
- QUIC: shard-0 terminal (compio-quic CID demux), 1 bidi stream per
peer, 0-RTT off + listener defense-in-depth reject.
- TCP-TLS: rustls 1.3, no client auth, 0-RTT off, compio-tls behind
unified TransportConn::run with bounded close_grace shutdown.
- WS: compio-ws over plaintext TCP; pre-upgrade fd cross-shard
handover keeps fd-delegation on plain TCP only.
- WSS: WebSocketStream over TlsStream; both handshakes run on the
per-connection install task.
Shared: TransportListener / TransportConn trait family; WebSocketConfig
+ close_grace threaded through MessageBusConfig and applied uniformly
across TCP-TLS, WS, WSS; bounded safe-shutdown (no select! over
stream.shutdown); single-task pump per WS/WSS using compio-ws
cancel-safe read. Bus auth thin: both planes connect unauthenticated;
server-ng gates via LOGIN_USER / LOGIN_WITH_PAT and future
LOGIN_REPLICA. Ping announces replica_id only; no subprotocol, no
ALPN, no MAC. Per-connection metadata flows via
IggyMessageBus::client_meta; ShardFramePayload setup variants carry
ClientConnMeta end to end.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]