Pivotal Knowledge Base

Follow

Greenplum gpmfr Command Line Utility State Codes

Environment

Pivotal Greenplum Database (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
title="MDH:YGBgPGRpdj48c3BhbiBzdHlsZT0iY29sb3I6IHJnYigwLCAwLCAwKTsgZm9udC1mYW1pbHk6IHZl
cmRhbmEsIGFyaWFsLCBoZWx2ZXRpY2EsIHNhbnMtc2VyaWY7IGZvbnQtc2l6ZTogMTNweDsgbGlu
ZS1oZWlnaHQ6IDE5LjVweDsiPjIwMTYwOTI3OjAxOjQwOjUwOjAyMzA2MyBncG1mcjombHQ7aG9z
dCZndDs6Z3BhZG1pbi1bSU5GT106LUZpbmlzaGluZyByZXBsaWNhdGUgd29ya2VyLCBiYWNrdXAg
ZmlsZTogZ3BfZHVtcF8wXzMzXzIwMTYwOTI2MjAwODE5LCBzdGF0ZTogNCZuYnNwOzwvc3Bhbj48
YnIgc3R5bGU9ImNvbG9yOiByZ2IoMCwgMCwgMCk7IGZvbnQtZmFtaWx5OiB2ZXJkYW5hLCBhcmlh
bCwgaGVsdmV0aWNhLCBzYW5zLXNlcmlmOyBmb250LXNpemU6IDEzcHg7IGxpbmUtaGVpZ2h0OiAx
OS41cHg7Ij48c3BhbiBzdHlsZT0iY29sb3I6IHJnYigwLCAwLCAwKTsgZm9udC1mYW1pbHk6IHZl
cmRhbmEsIGFyaWFsLCBoZWx2ZXRpY2EsIHNhbnMtc2VyaWY7IGZvbnQtc2l6ZTogMTNweDsgbGlu
ZS1oZWlnaHQ6IDE5LjVweDsiPjIwMTYwOTI3OjAxOjQyOjU5OjAyMzA2MyBncG1mcjombHQ7aG9z
dCZndDs6Z3BhZG1pbi1bSU5GT106LUZpbmlzaGluZyByZXBsaWNhdGUgd29ya2VyLCBiYWNrdXAg
ZmlsZTogZ3BfZHVtcF8wXzIxN18yMDE2MDkyNjIwMDgxOSwgc3RhdGU6IDY8L3NwYW4+PGJyPjwv
ZGl2PjxkaXY+PHNwYW4gc3R5bGU9ImNvbG9yOiByZ2IoMCwgMCwgMCk7IGZvbnQtZmFtaWx5OiB2
ZXJkYW5hLCBhcmlhbCwgaGVsdmV0aWNhLCBzYW5zLXNlcmlmOyBmb250LXNpemU6IDEzcHg7IGxp
bmUtaGVpZ2h0OiAxOS41cHg7Ij5gYGA8L3NwYW4+PC9kaXY+">

Cause 

Each of the state codes is 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 transferred.
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