Skip to content

Commit

Permalink
Update router.c (#525)
Browse files Browse the repository at this point in the history
  • Loading branch information
reshke authored Aug 17, 2023
1 parent d0638f3 commit 7dee99d
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 7dee99d

Please sign in to comment.