spqr icon indicating copy to clipboard operation
spqr copied to clipboard

default_route_behaviour: BLOCK

Open Denchick opened this issue 1 year ago • 0 comments

If the default_route_behaviour is set to BLOCK, the router will send a message to the client:

ERROR:  client processing error: error processing query 'CREATE TABLE test_pers (puid INT, data JSONB);': failed to match any datashard., tx status IDLE

This message can be misleading for users, so it would be better if the router could answer with a more informative message, such as "Your query is blocked due to the default route behavior."

Denchick avatar Nov 11 '24 10:11 Denchick