Notice in sendcommand.c we have:

 

 164                 case 'w':
 165                         watchdog = atoi(optarg);
 166                 default:
 167                         fprintf(stderr, "sendcommand: usage: sendcommand [-h server_dir] [-w watchdog_timeout]\n");
 168                         return(1);

 

which means any invocation of sendcommand that specifies a -w will fail.

 

ctldmigrate specifies -w and so always fails to actually migrate the contents of the database, while seemingly completing without error.

Developers might do well to add a "break;" between 165 and 166.

 

Thanks!

Harry Coin

 

 

Reply via email to