Add helloOk
field in isMaster
op query
#4132
Labels
code/chore
Code maintenance improvements
not ready
Issues that are not ready to be worked on; PRs that should skip CI
What should be done?
helloOk
Protocol Negotation is used to check that the server and the client both supports thehello
command. If the client sendshelloOk: true
inisMaster
and server responds back withhelloOk: true
as well, then both parties can start sendinghello
instead ofisMaster
on the connection.This allows appropriate response for the client which supports
hello
.see also #4111 (comment)
Where?
https://github.com/FerretDB/FerretDB/blob/main/internal/handler/cmd_query.go
Definition of Done
The text was updated successfully, but these errors were encountered: