Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions rfc/0075-faster-failover-and-configuration-push.md
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,11 @@ sequenceDiagram
6. [OPTIONAL] `SnappyEverywhere` (`0x13`). The SDK should be ready that KV engine might send Snappy-compressed payload with any
of the response types (including push notifications). Check datatype `SNAPPY` (`0x02`).

7. SDK should be able to handle errors from HELLO. It is not critical right now, but in theory it might be happening in
future. For example, Sending `ClustermapChangeNotificationBrief` (`0x1f`) without `Duplex` (`0x0c`) will trigger
response with the status code `Einval` (`0x04`) and body `{"error":{"context":"ClustermapChangeNotificationBrief needs Duplex"}}`.
See [hello\_packet\_executor.cc][kv-engine-hello-error] for more details.

# Open Questions

1. TBD
Expand Down Expand Up @@ -362,3 +367,4 @@ sequenceDiagram
[rfc-0005]: /rfc/0005-vbucket-retries.md
[rfc-0024]: /rfc/0024-fast-failover.md
[rfc-0048]: /rfc/0048-sdk3-bootstrapping.md
[kv-engine-hello-error]: https://github.com/couchbase/kv_engine/blob/fc4e8f7a71609687302f3f54d2f5052f86105400/daemon/protocol/mcbp/hello_packet_executor.cc#L147-L152