Pivotal Knowledge Base

Follow

Greenplum gpmfr command line utility state codes

Environment

Product Version
Pivotal Greenplum (GPDB) 4.3.x

Symptom

When running the gpmfr command line tool the output will report various state codes but no indication as to what they mean.

Log Message:

Note: These log entries will be output from the gpmfr command directly:

20160927:01:40:50:023063 gpmfr:<host>:gpadmin-[INFO]:-Finishing replicate worker, backup file: gp_dump_0_33_20160926200819, state: 4 
20160927:01:42:59:023063 gpmfr:<host>:gpadmin-[INFO]:-Finishing replicate worker, backup file: gp_dump_0_217_20160926200819, state: 6
Cause 

Each of the state codes are showing the various states of the worker.  
The descriptions for each code are as follows:

STATE CODE STATE DESCRIPTION
0 INIT About to start DDBoost as a child process.
1 DDSTARTED DDBoost started, yet to get transfer status.
2 TRANSFER_INPROGRESS Transfer status is being received on stdout.
4 TRANSFER_COMPLETE All bytes transfered.
5 TRANSFER_INCOMPLETE Unexpected failure in gpddboost.
6 TRANSFER_CANCELED  gpddboost received SIGINT and canceled the transfer. Partially transferred file was deleted from target DD.

Additional Information

Comments

Powered by Zendesk