Skip to content

cbcopy freeze in the middle #999

Answered by robertmu
MennaKhaled asked this question in Q&A
Discussion options

You must be logged in to vote

Based on the command you shared, it seems that specifying --dest-host=127.0.0.1 (localhost) may be causing communication failures between the helper processes.

Here's what might be happening:

  1. cbcopy works by starting a cbcopy_helper process on both the source and destination database servers
  2. When you specify --dest-host=127.0.0.1, the source database's helper process likely tries to connect to port 1024 on localhost (itself), not to the actual destination server
  3. The source helper process will continue retrying these connection attempts, causing the tool to appear frozen while it waits for a connection that can never be established
  4. This could cause the data transfer to fail silently and t…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by tuhaihe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants