Skip to content

Commit

Permalink
Update router.c
Browse files Browse the repository at this point in the history
  • Loading branch information
reshke committed Aug 17, 2023
1 parent d0638f3 commit 381f457
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion sources/router.c
Original file line number Diff line number Diff line change
Expand Up @@ -655,12 +655,17 @@ od_router_status_t od_router_attach(od_router_t *router, od_client_t *client,
server->key_client = client->key;

/*
* XXX: this logic breaks some external solutions that use
* PostgreSQL logical replication. Need to tests this and fix
*
* walsender connections are in "graceful shutdown" mode since we cannot
* reuse it.
*/
*
if (route->id.physical_rep || route->id.logical_rep)
server->offline = 1;
*/

od_route_unlock(route);

/* attach server io to clients machine context */
Expand Down

0 comments on commit 381f457

Please sign in to comment.