Greenplum gpmfr Command Line Utility State Codes
search cancel

Greenplum gpmfr Command Line Utility State Codes

book

Article ID: 296203

calendar_today

Updated On:

Products

VMware Tanzu Greenplum

Issue/Introduction

Symptoms:

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+">

 

Environment


Resolution

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

STATE CODESTATEDESCRIPTION
0INITAbout to start DDBoost as a child process.
1DDSTARTEDDDBoost started, yet to get transfer status.
2TRANSFER_INPROGRESSTransfer status is being received on stdout.
4TRANSFER_COMPLETEAll bytes transferred.
5TRANSFER_INCOMPLETEUnexpected failure in gpddboost.
6TRANSFER_CANCELED gpddboost received SIGINT and canceled the transfer. Partially transferred file was deleted from target DD.